Function t8_cmesh_destroy

Function Documentation

void t8_cmesh_destroy(t8_cmesh_t *pcmesh)

Verify that a coarse mesh has only one reference left and destroy it.

This function is preferred over t8_cmesh_unref when it is known that the last reference is to be deleted.

Parameters:

pcmesh[inout] This cmesh must have a reference count of one. It can be in any state (committed or not). Then it effectively calls t8_cmesh_unref.