15 #ifndef BORNAGAIN_CORE_AGGREGATE_INTERFERENCEFUNCTIONRADIALPARACRYSTAL_H
16 #define BORNAGAIN_CORE_AGGREGATE_INTERFERENCEFUNCTIONRADIALPARACRYSTAL_H
48 std::vector<const INode*>
getChildren() const override final;
59 std::unique_ptr<IFTDistribution1D>
mP_pdf;
Defines complex_t, and a few elementary functions.
std::complex< double > complex_t
Defines interface class IFTDistribution1D, and children thereof.
Defines and implements the interface class IInterferenceFunction.
Interface for a one-dimensional distribution, with normalization adjusted so that the Fourier transfo...
Pure virtual base class of interference functions.
Visitor interface to visit ISample objects.
Interference function of radial paracrystal.
InterferenceFunctionRadialParaCrystal(double peak_distance, double damping_length)
Constructor of interference function of radial paracrystal.
double peakDistance() const
std::vector< const INode * > getChildren() const override final
Returns a vector of children (const).
double domainSize() const
InterferenceFunctionRadialParaCrystal * clone() const override final
Returns a clone of this ISample object.
double m_damping_length
damping length of paracrystal
std::unique_ptr< IFTDistribution1D > mP_pdf
Fourier transformed probability distribution of the nearest particle.
void setDomainSize(double size)
Sets domain size (finite size corrections).
double iff_without_dw(const kvector_t q) const override final
Calculates the structure factor without Debye-Waller factor.
bool m_use_damping_length
void accept(INodeVisitor *visitor) const override final
Calls the INodeVisitor's visit method.
void setKappa(double kappa)
Sets size spacing coupling parameter of the Size Spacing Correlation Approximation.
complex_t FTPDF(double qpar) const
double dampingLength() const
double randomSample() const
double m_domain_size
Size of coherence domain.
double m_kappa
Size-spacing coupling parameter.
double m_peak_distance
the distance to the first neighbor peak
void setProbabilityDistribution(const IFTDistribution1D &pdf)
Sets one-dimensional probability distribution.