Template Function t8_cmesh_register_geometry(t8_cmesh_t, _args&&…)
Defined in File t8_cmesh.hxx
Function Documentation
-
template<typename geometry_type, typename ..._args>
inline geometry_type *t8_cmesh_register_geometry(t8_cmesh_t cmesh, _args&&... args) Create and register a geometry with the coarse mesh.
The coarse mesh takes the ownership of the geometry.
- Template Parameters:
geometry_type –
- Parameters:
cmesh – [inout] The cmesh.
args – [inout] The constructor arguments of the geometry.
- Returns:
A pointer to the geometry.