15 #ifndef BORNAGAIN_SAMPLE_AGGREGATE_INTERFERENCEFUNCTION3DLATTICE_H
16 #define BORNAGAIN_SAMPLE_AGGREGATE_INTERFERENCEFUNCTION3DLATTICE_H
41 std::vector<const INode*>
getChildren()
const override;
Defines and implements the interface class IInterferenceFunction.
Abstract base class of interference functions.
Visitor interface to visit ISampleNode objects.
virtual void visit(const BasicLattice2D *)
Abstract base class class that defines the peak shape of a Bragg peak.
Interference function of a 3D lattice.
void accept(INodeVisitor *visitor) const override
Calls the INodeVisitor's visit method.
void setPeakShape(const IPeakShape &peak_shape)
double m_rec_radius
radius in reciprocal space defining the nearest q vectors to use
InterferenceFunction3DLattice * clone() const override
Returns a clone of this ISampleNode object.
void onChange() override
Action to be taken in inherited class when a parameter has changed.
std::vector< const INode * > getChildren() const override
Returns a vector of children.
~InterferenceFunction3DLattice() override
std::unique_ptr< IPeakShape > m_peak_shape
InterferenceFunction3DLattice(const Lattice3D &lattice)
const Lattice3D & lattice() const
bool supportsMultilayer() const override
Indicates if this interference function can be used with a multilayer (DWBA mode)
double iff_without_dw(const kvector_t q) const override
Calculates the structure factor without Debye-Waller factor.
A Bravais lattice, characterized by three basis vectors, and optionally an ISelectionRule.