Function t8_dtet_init_linear_id_with_level
Defined in File t8_dtet_bits.h
Function Documentation
-
void t8_dtet_init_linear_id_with_level(t8_dtet_t *tet, t8_linearidx_t id, int start_level, int end_level, t8_dtet_type_t parenttype)
Same as init_linear_id, but we only consider the subtree. Used for computing the index of a tetrahedron lying in a pyramid
- Parameters:
tet – [inout] Existing tet whose data will be filled
id – Index to be considered
start_level – The level of the root of the subtree
end_level – Level of uniform grid to be considered
parenttype – The type of the parent.