Function t8_geometry_tree_negative_volume

Function Documentation

int t8_geometry_tree_negative_volume(const t8_cmesh_t cmesh, const t8_gloidx_t gtreeid)

Check if a tree has a negative volume.

Parameters:
  • cmesh[in] The cmesh to check

  • gtreeid[in] The global id of the tree

Returns:

True if the tree with id gtreeid has a negative volume. False otherwise.