15 #ifndef BORNAGAIN_SAMPLE_HARDPARTICLE_PLATONICTETRAHEDRON_H
16 #define BORNAGAIN_SAMPLE_HARDPARTICLE_PLATONICTETRAHEDRON_H
30 std::string
className() const final {
return "PlatonicTetrahedron"; }
32 std::vector<ParaMeta>
parDefs() const final
34 return {{
"Edge",
"nm",
"edge length", 0, +
INF, 0}};
A frustum with equilateral trigonal base.
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.
PlatonicTetrahedron * clone() const override
Returns a clone of this ISampleNode object.
PlatonicTetrahedron(double edge)
static const ff::PolyhedralTopology topology