15 #ifndef BORNAGAIN_SAMPLE_AGGREGATE_INTERFERENCE3DLATTICE_H
16 #define BORNAGAIN_SAMPLE_AGGREGATE_INTERFERENCE3DLATTICE_H
32 std::string
className() const final {
return "Interference3DLattice"; }
Defines and implements the interface class IInterference.
Abstract base class of interference functions.
Abstract base class class that defines the peak shape of a Bragg peak.
Interference function of a 3D lattice.
void setPeakShape(const IPeakShape &peak_shape)
std::string className() const final
Returns the class name, to be hard-coded in each leaf class that inherits from INode.
double m_rec_radius
radius in reciprocal space defining the nearest q vectors to use
Interference3DLattice(const Lattice3D &lattice)
bool supportsMultilayer() const override
Indicates if this interference function can be used with a sample (DWBA mode)
~Interference3DLattice() override
Interference3DLattice * clone() const override
const Lattice3D & lattice() const
double iff_without_dw(R3 q) const override
Calculates the structure factor without Debye-Waller factor.
std::vector< const INode * > nodeChildren() const override
Returns all children.
std::unique_ptr< IPeakShape > m_peak_shape
A Bravais lattice, characterized by three basis vectors, and optionally an ISelectionRule.