Declares computations in namespace ripples.
Defines classes SawtoothRipple*.
void checkNodeArgs() const
Raises exception if a parameter value is invalid.
Base class for form factors with a triangular ripple profile in the yz plane.
const double & m_asymmetry
The form factor for a cosine ripple, with box profile in elongation direction.
complex_t factor_x(complex_t qx) const override
SawtoothRippleBox * clone() const override
Returns a clone of this ISampleNode object.
SawtoothRippleBox(double length, double width, double height, double asymmetry)
The form factor for a cosine ripple, with Gaussian profile in elongation direction.
SawtoothRippleGauss * clone() const override
Returns a clone of this ISampleNode object.
SawtoothRippleGauss(double length, double width, double height, double asymmetry)
complex_t factor_x(complex_t qx) const override
The form factor for a cosine ripple, with Lorentz form factor in elongation direction.
SawtoothRippleLorentz(double length, double width, double height, double asymmetry)
SawtoothRippleLorentz * clone() const override
Returns a clone of this ISampleNode object.
complex_t factor_x(complex_t qx) const override
complex_t factor_x_box(complex_t q, double l)
complex_t factor_x_Lorentz(complex_t q, double l)
complex_t factor_x_Gauss(complex_t q, double l)