Function t8_cmesh_register_geometry(t8_cmesh_t, t8_geometry_c *)
Defined in File t8_cmesh.h
Function Documentation
-
void t8_cmesh_register_geometry(t8_cmesh_t cmesh, t8_geometry_c *geometry)
Register a geometry in the cmesh.
The cmesh takes ownership of the geometry.
If no geometry is registered and cmesh is modified from another cmesh then the other cmesh’s geometries are used.
Note
If you need to use t8_cmesh_bcast, then all geometries must be registered after the bcast operation, not before.
- Parameters:
cmesh – [inout] The cmesh.
geometry – [in] The geometry to register.