Function t8_cmesh_is_committed

Function Documentation

int t8_cmesh_is_committed(const t8_cmesh_t cmesh)

Check whether a cmesh is not NULL, initialized and 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 and t8_cmesh_init has been called on it as well as t8_cmesh_commit. False otherwise.