Function t8_dpyramid_linear_id
Defined in File t8_dpyramid_bits.h
Function Documentation
-
t8_linearidx_t t8_dpyramid_linear_id(const t8_dpyramid_t *p, const int level)
Computes the linear position of a pyramid in an uniform grid.
- Parameters:
p – [in] pyramid whose id will be computed.
level – [in] The level on which the linear-id should be computed.
- Returns:
Returns the linear position of this pyramid on a grid.