Function t8_dtri_is_valid

Function Documentation

int t8_dtri_is_valid(const t8_dtri_t *element)

Query whether all entries of a triangle are in valid ranges.

Parameters:

element[in] triangle to be considered.

Returns:

True, if element is a valid triangle and it is safe to call any function on element. False otherwise.