Function t8_forest_is_committed

Function Documentation

int t8_forest_is_committed(t8_forest_t forest)

Check whether a forest is not NULL, initialized and committed.

In addition, it asserts that the forest is consistent as much as possible.

Parameters:

forest[in] This forest is examined. May be NULL.

Returns:

True if forest is not NULL and t8_forest_init has been called on it as well as t8_forest_commit. False otherwise.