Function t8_forest_set_level
Defined in File t8_forest_general.h
Function Documentation
-
void t8_forest_set_level(t8_forest_t forest, int level)
Set the initial refinement level to be used when forest is committed.
Note
This setting cannot be combined with any of the derived forest methods (t8_forest_set_copy, t8_forest_set_adapt, t8_forest_set_partition, and t8_forest_set_balance) and overwrites any of these settings. If this function is used, then the forest is created from scratch as a uniform refinement of the specified cmesh (t8_forest_set_cmesh, t8_forest_set_scheme).
- Parameters:
forest – [inout] The forest whose level will be set.
level – [in] The initial refinement level of forest, when it is committed.