Function t8_dprism_last_descendant(const t8_dprism_t *, t8_dprism_t *, int)
Defined in File t8_dprism_bits.c
Function Documentation
-
void t8_dprism_last_descendant(const t8_dprism_t *p, t8_dprism_t *s, int level)
Compute the last descendant of a prism at a given level. This is the descendant of the prism in a uniform level refinement that has the largest id.
- Parameters:
p – [in] Prism whose descendant is computed.
s – [out] Existing prism whose data will be filled with the data of p’s last descendant on level level.
level – [in] The refinement level. Must be greater than p’s refinement level.