Function t8_cmesh_is_initialized

Function Documentation

int t8_cmesh_is_initialized(t8_cmesh_t cmesh)

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

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

Parameters:

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

Returns:

True if cmesh is not NULL, t8_cmesh_init has been called on it, but not t8_cmesh_commit. False otherwise.