t8code
t8code copied to clipboard
t8_cmesh_no_negative_volume does not work with axis-aligned geometries
The volume check directly gets the tree-vertices (which are only two), yet uses num_tree_corners vertices for the check and memory-errors can occur. To fix this update the check to work with axis-aligned geometries.