Function t8_dline_linear_id(const t8_dline_t *, int)
Defined in File t8_dline_bits.h
Function Documentation
-
t8_linearidx_t t8_dline_linear_id(const t8_dline_t *line, int level)
Computes the linear position of a line in an uniform grid.
- Parameters:
line – [in] Pointer to a line element whose id will be computed.
level – [in] Refinement level of the line element.
- Returns:
Returns the linear position of this line on a grid.