15 #ifndef BORNAGAIN_CORE_AGGREGATE_INTERFERENCEFUNCTION1DLATTICE_H
16 #define BORNAGAIN_CORE_AGGREGATE_INTERFERENCEFUNCTION1DLATTICE_H
37 double getLength()
const {
return m_length; }
38 double getXi()
const {
return m_xi; }
40 std::vector<const INode*>
getChildren() const override final;
43 double iff_without_dw(const
kvector_t q) const override final;
Defines and implements the interface class IInterferenceFunction.
Interface for a one-dimensional decay function, with evaluate(q) returning the Fourier transform,...
Pure virtual base class of interference functions.
Visitor interface to visit ISample objects.
Interference function of a 1D lattice.
std::vector< const INode * > getChildren() const override final
Returns a vector of children (const).
InterferenceFunction1DLattice * clone() const override final
Returns a clone of this ISample object.
InterferenceFunction1DLattice(double length, double xi)
Constructor of interference function of one-dimensional lattice.
void setDecayFunction(const IFTDecayFunction1D &decay)
Sets one-dimensional decay function.
void accept(INodeVisitor *visitor) const override final
Calls the INodeVisitor's visit method.