Function t8_forest_init
Defined in File t8_forest_general.h
Function Documentation
-
void t8_forest_init(t8_forest_t *pforest)
Create a new forest with reference count one.
This forest needs to be specialized with the t8_forest_set_* calls. Currently it is mandatory to either call the functions
See also
t8_forest_set_mpicomm, t8_forest_set_cmesh, and t8_forest_set_scheme, or to call one of t8_forest_set_copy, t8_forest_set_adapt, or t8_forest_set_partition. It is illegal to mix these calls, or to call more than one of the three latter functions Then it needs to be set up with t8_forest_commit.
- Parameters:
pforest – [inout] On input, this pointer must be non-NULL. On return, this pointer set to the new forest.