Defines classes CosineRipple*.
Declares computations in namespace ripples.
The form factor for a cosine ripple, with box profile in elongation direction.
CosineRippleBox(double length, double width, double height)
complex_t factor_x(complex_t qx) const override
CosineRippleBox * clone() const override
Returns a clone of this ISampleNode object.
The form factor for a cosine ripple, with Gaussian profile in elongation direction.
CosineRippleGauss * clone() const override
Returns a clone of this ISampleNode object.
CosineRippleGauss(double length, double width, double height)
complex_t factor_x(complex_t qx) const override
The form factor for a cosine ripple, with Lorentz form factor in elongation direction.
complex_t factor_x(complex_t qx) const override
CosineRippleLorentz * clone() const override
Returns a clone of this ISampleNode object.
CosineRippleLorentz(double length, double width, double height)
Base class for form factors with a cosine ripple profile in the yz plane.
void checkNodeArgs() const
Raises exception if a parameter value is invalid.
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)