15 #ifndef BORNAGAIN_SAMPLE_HARDPARTICLE_ICOSAHEDRON_H
16 #define BORNAGAIN_SAMPLE_HARDPARTICLE_ICOSAHEDRON_H
30 std::string
className() const final {
return "Icosahedron"; }
32 std::vector<ParaMeta>
parDefs() const final
34 return {{
"Edge",
"nm",
"edge length", 0, +
INF, 0}};
std::string className() const final
Returns the class name, to be hard-coded in each leaf class that inherits from INode.
std::vector< ParaMeta > parDefs() const final
Returns the parameter definitions, to be hard-coded in each leaf class.
static const ff::PolyhedralTopology topology
Icosahedron * clone() const override
Returns a clone of this ISampleNode object.