15 #ifndef BORNAGAIN_SAMPLE_HARDPARTICLE_CANTELLATEDCUBE_H
16 #define BORNAGAIN_SAMPLE_HARDPARTICLE_CANTELLATEDCUBE_H
33 std::string
className() const final {
return "CantellatedCube"; }
35 std::vector<ParaMeta>
parDefs() const final
37 return {{
"Length",
"nm",
"length of untruncated edge", 0, +
INF, 0},
38 {
"RemovedLength",
"nm",
39 "side length of the trirectangular tetrahedron removed one corner", 0, +
INF, 0}};
A cube, with truncation of all edges and corners, as in Croset (2017) Fig 7.
double removedLength() const
CantellatedCube * clone() const override
Returns a clone of this ISampleNode object.
CantellatedCube(double length, double removed_length)
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_removed_length
static const ff::PolyhedralTopology topology