Function t8_cmesh_trees_destroy

Function Documentation

void t8_cmesh_trees_destroy(t8_cmesh_trees_t *trees)

Free all memory allocated with a trees structure.

This means that all coarse trees and ghosts, their face neighbor entries and attributes and the additional structures of trees are freed.

Parameters:

trees[inout] The tree structure to be destroyed. Set to NULL on output.