template<class Real_ = double>
class Kaskade::Cube< Real_ >
A 3D brick class.
This provides the functionality to create a list of tetrahedra that cover the brick. The coverage by tetrahedra can be symmetric or not, to be chosen on construction.
Nonsymmetric coverage splits the cube into six pyramids, one on each cube face and extending to the cube center, and then splits these pyramids into two tetrahedra each, such that the cube face is subdivided by a diagonal. The diagonals on opposite faces match, such that cubes can be concatenated along any dimension. This is the 3D equivalent of a criss grid. In total, 9 vertices are created (in the cube corners and the center).
Symmetric coverage splits the cube into pyramids as above, but then splits each pyramid symmetrically into four tetrahedra. This leads to 24 tetrahedra and 15 vertices.
Definition at line 145 of file cube.hh.