Function t8_forest_min_nonempty_level(t8_cmesh_t, const t8_scheme_c *)
Defined in File t8_forest_private.h
Function Documentation
-
int t8_forest_min_nonempty_level(t8_cmesh_t cmesh, const t8_scheme_c *scheme)
Compute the minimum possible uniform refinement level on a cmesh such that no process is empty. Returns -1, if cmesh contains a vertex tree.
See also
- Parameters:
cmesh – [in] The cmesh.
scheme – [in] The element scheme for which refinement is considered.
- Returns:
The smallest refinement level l, such that a uniform level l refined forest would have no empty processes.