Declares computations in namespace ripples.
The form factor of an elongated bar, with Gaussian profile in elongation direction.
complex_t factor_x(complex_t qx) const override
BarGauss(double length, double width, double height)
BarGauss * clone() const override
Returns a clone of this ISampleNode object.
The form factor of an elongated, with Lorentz form factor in elongation direction.
BarLorentz * clone() const override
Returns a clone of this ISampleNode object.
complex_t factor_x(complex_t qx) const override
BarLorentz(double length, double width, double height)
void checkNodeArgs() const
Raises exception if a parameter value is invalid.
Base class for form factors with a rectangular ripple (bar) profile in the yz plane.
complex_t factor_x_Lorentz(complex_t q, double l)
complex_t factor_x_Gauss(complex_t q, double l)