Function t8_dpyramid_is_valid(const t8_dpyramid_t *)

Function Documentation

int t8_dpyramid_is_valid(const t8_dpyramid_t *p)

Query whether all entries of a pyramid are in valid ranges. A pyramid is valid if and only if its triangle and line member are valid.

Parameters:

p[in] pyramid to be considered.

Returns:

True, if p is a valid pyramid and it is safe to call any function in this file on p. False otherwise.