15 #ifndef BORNAGAIN_SAMPLE_AGGREGATE_INTERFERENCEFUNCTIONTWIN_H
16 #define BORNAGAIN_SAMPLE_AGGREGATE_INTERFERENCEFUNCTIONTWIN_H
Defines and implements the interface class IInterferenceFunction.
Abstract base class of interference functions.
Visitor interface to visit ISampleNode objects.
Interference function for two particles at a mean distance and given standard deviation from each oth...
void accept(INodeVisitor *visitor) const final
Calls the INodeVisitor's visit method.
InterferenceFunctionTwin(const kvector_t &direction, double mean_distance, double std_dev)
double meanDistance() const
kvector_t direction() const
double iff_without_dw(const kvector_t q) const final
Calculates the structure factor without Debye-Waller factor.
InterferenceFunctionTwin * clone() const final
Returns a clone of this ISampleNode object.