15 #ifndef BORNAGAIN_SAMPLE_AGGREGATE_INTERFERENCETWIN_H
16 #define BORNAGAIN_SAMPLE_AGGREGATE_INTERFERENCETWIN_H
30 std::string
className() const final {
return "InterferenceTwin"; }
31 std::vector<ParaMeta>
parDefs() const final
33 return {{
"MeanDistance",
"nm",
"mean distance", 0, +
INF, 0},
34 {
"StdDeviation",
"nm",
"standard deviation of distance", 0, +
INF, 0}};
Defines and implements the interface class IInterference.
Abstract base class of interference functions.
Interference function for two particles at a mean distance and given standard deviation from each oth...
double iff_without_dw(R3 q) const override
Calculates the structure factor without Debye-Waller factor.
InterferenceTwin * clone() const override
double meanDistance() const
std::string className() const final
Returns the class name, to be hard-coded in each leaf class that inherits from INode.
std::vector< ParaMeta > parDefs() const final
Returns the parameter definitions, to be hard-coded in each leaf class.
InterferenceTwin(const R3 &direction, double mean_distance, double std_dev)