Function t8_forest_is_initialized

Function Documentation

int t8_forest_is_initialized(t8_forest_t forest)

Check whether a forest is not NULL, initialized and not 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, t8_forest_init has been called on it, but not t8_forest_commit. False otherwise.