Function t8_dtet_linear_id
Defined in File t8_dtet_bits.h
Function Documentation
-
t8_linearidx_t t8_dtet_linear_id(const t8_dtet_t *tet, int level)
Computes the linear position of a tetrahedron in a uniform grid.
Note
This id is not the Morton index.
- Parameters:
tet – [in] tetrahedron whose id will be computed.
level – [in] level of uniform grid to be considered.
- Returns:
Returns the linear position of this tetrahedron on a grid of level level.