15 #ifndef BORNAGAIN_SAMPLE_HARDPARTICLE_HOLLOWSPHERE_H
16 #define BORNAGAIN_SAMPLE_HARDPARTICLE_HOLLOWSPHERE_H
30 std::string
className() const final {
return "HollowSphere"; }
32 std::vector<ParaMeta>
parDefs() const final
34 return {{
"MeanRadius",
"nm",
"para_tooltip", 0, +
INF, 0},
35 {
"FullWidth",
"nm",
"para_tooltip", 0, +
INF, 0}};
Integrated full sphere form factor over a uniform distribution of radii.
double radialExtension() const override
Returns the (approximate in some cases) radial size of the particle of this form factor's shape....
bool checkParameters() const
const double & m_full_width
This is the full width of the radius distribution.
std::vector< ParaMeta > parDefs() const final
Returns the parameter definitions, to be hard-coded in each leaf class.
std::string className() const final
Returns the class name, to be hard-coded in each leaf class that inherits from INode.
const double & m_mean
This is the mean radius.
HollowSphere * clone() const override
Returns a clone of this ISampleNode object.
HollowSphere(double mean, double full_width)
complex_t formfactor_at_bottom(C3 q) const override