15 #ifndef BORNAGAIN_SAMPLE_SOFTPARTICLE_GAUSS_H
16 #define BORNAGAIN_SAMPLE_SOFTPARTICLE_GAUSS_H
29 std::string
className() const final {
return "GaussSphere"; }
31 std::vector<ParaMeta>
parDefs() const final
33 return {{
"MeanRadius",
"nm",
"para_tooltip", 0, +
INF, 0}};
The form factor of a Gaussian sphere.
double meanRadius() const
std::vector< ParaMeta > parDefs() const final
Returns the parameter definitions, to be hard-coded in each leaf class.
GaussSphere(std::vector< double > P)
std::string className() const final
Returns the class name, to be hard-coded in each leaf class that inherits from INode.
double radialExtension() const override
Returns the (approximate in some cases) radial size of the particle of this form factor's shape....
const double & m_mean_radius
complex_t formfactor_at_bottom(C3 q) const override
GaussSphere * clone() const override
Returns a clone of this ISampleNode object.