15 #ifndef BORNAGAIN_CORE_CORRELATIONS_FTDECAY1D_H
16 #define BORNAGAIN_CORE_CORRELATIONS_FTDECAY1D_H
51 double evaluate(
double q)
const final;
65 double evaluate(
double q)
const final;
79 double evaluate(
double q)
const final;
93 double evaluate(
double q)
const final;
Defines and implements the standard mix-in ICloneable.
Defines M_PI and some more mathematical constants.
One-dimensional Cauchy decay function in reciprocal space; corresponds to exp(-|x|/decay_length) in r...
double evaluate(double q) const final
FTDecayFunction1DCauchy(const std::vector< double > P)
FTDecayFunction1DCauchy * clone() const
void accept(INodeVisitor *visitor) const final
Calls the INodeVisitor's visit method.
One-dimensional Gauss decay function in reciprocal space; corresponds to exp[-x^2/(2*decay_length^2)]...
double evaluate(double q) const final
FTDecayFunction1DGauss(const std::vector< double > P)
FTDecayFunction1DGauss * clone() const
void accept(INodeVisitor *visitor) const final
Calls the INodeVisitor's visit method.
One-dimensional triangle decay function in reciprocal space; corresponds to 1-|x|/decay_length if |x|...
FTDecayFunction1DTriangle * clone() const
FTDecayFunction1DTriangle(const std::vector< double > P)
void accept(INodeVisitor *visitor) const final
Calls the INodeVisitor's visit method.
double evaluate(double q) const final
One-dimensional pseudo-Voigt decay function in reciprocal space; corresponds to eta*Gauss + (1-eta)*C...
double evaluate(double q) const final
FTDecayFunction1DVoigt(const std::vector< double > P)
FTDecayFunction1DVoigt * clone() const
void accept(INodeVisitor *visitor) const final
Calls the INodeVisitor's visit method.
Interface for polymorphic classes that should not be copied, except by explicit cloning.
Interface for a one-dimensional decay function, with evaluate(q) returning the Fourier transform,...
virtual double evaluate(double q) const =0
IFTDecayFunction1D(const NodeMeta &meta, const std::vector< double > &PValues)
double decayLength() const
const double & m_decay_length
virtual IFTDecayFunction1D * clone() const =0
Visitor interface to visit ISample objects.
Base class for tree-like structures containing parameterized objects.