Function t8_dtri_init_linear_id_with_level
Defined in File t8_dtri_bits.h
Function Documentation
-
void t8_dtri_init_linear_id_with_level(t8_dtri_t *element, t8_linearidx_t id, const int start_level, const int end_level, t8_dtri_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:
element – [inout] Existing triangle whose data will be filled
id – [in] Index to be considered
start_level – [in] The level of the root of the subtree
end_level – [in] Level of uniform grid to be considered
parenttype – [in] The type of the parent.