![]() |
KASKADE 7 development version
|
Functions | |
| template<class Grid> | |
| std::unique_ptr< Grid > | Kaskade::createHexahedron () |
| Creates a hexahedron consisting of five tetrahedra. | |
| template<class Grid> | |
| std::unique_ptr< Grid > | Kaskade::createOctahedron (Dune::FieldVector< typename Grid::ctype, 3 > extent=Dune::FieldVector< typename Grid::ctype, 3 >(1.0)) |
| Creates an octahedron consisting of eight tetrahedra. | |
| template<class Grid> | |
| std::unique_ptr< Grid > | Kaskade::createIcosahedron () |
| Creates an icosahedron consisting of 20 tetrahedra. | |
Functions for creating basic grids for Platonian solids.
Creates a hexahedron consisting of five tetrahedra.
The hexahedron is then the unit cube \( [0,1]^3 \).
| Grid | the type of grid to create |
Definition at line 602 of file gridGeneration.hh.
Creates an icosahedron consisting of 20 tetrahedra.
The icosahedron is centered around the origin and has a diameter of two.
| Grid | the type of grid to create |
Definition at line 673 of file gridGeneration.hh.
| std::unique_ptr< Grid > Kaskade::createOctahedron | ( | Dune::FieldVector< typename Grid::ctype, 3 > | extent = Dune::FieldVector<typename Grid::ctype,3>(1.0) | ) |
Creates an octahedron consisting of eight tetrahedra.
The octahedron is centered at the origin, with the vertices located at given positions on the cartesian axes.
| Grid | the type of grid to create |
Definition at line 638 of file gridGeneration.hh.