15 #ifndef BORNAGAIN_SAMPLE_HARDPARTICLE_LONGBOXLORENTZ_H
16 #define BORNAGAIN_SAMPLE_HARDPARTICLE_LONGBOXLORENTZ_H
33 std::string
className() const final {
return "LongBoxLorentz"; }
35 std::vector<ParaMeta>
parDefs() const final
37 return {{
"Length",
"nm",
"para_tooltip", 0, +
INF, 0},
38 {
"Width",
"nm",
"para_tooltip", 0, +
INF, 0},
39 {
"Height",
"nm",
"para_tooltip", 0, +
INF, 0}};
The form factor for a long rectangular box.
std::vector< ParaMeta > parDefs() const final
Returns the parameter definitions, to be hard-coded in each leaf class.
complex_t formfactor_at_bottom(C3 q) const override
double radialExtension() const override
Returns the (approximate in some cases) radial size of the particle of this form factor's shape....
LongBoxLorentz(double length, double width, double height)
std::string className() const final
Returns the class name, to be hard-coded in each leaf class that inherits from INode.
LongBoxLorentz * clone() const override
Returns a clone of this ISampleNode object.