Function t8_cmesh_validate_geometry

Function Documentation

int t8_cmesh_validate_geometry(const t8_cmesh_t cmesh, const int check_for_negative_volume)

Check the geometry of the mesh for validity, this means checking if trees and their geometries are compatible and if they have negative volume.

Parameters:
  • cmesh[in] This cmesh is examined.

  • check_for_negative_volume[in] Enable the negative volume check.

Returns:

True if the geometry of the cmesh is valid.