Function t8_cmesh_get_tree_geom_hash

Function Documentation

t8_geometry_hash t8_cmesh_get_tree_geom_hash(t8_cmesh_t cmesh, t8_gloidx_t gtreeid)

Get the hash of the geometry stored for a tree in a cmesh.

Parameters:
  • cmesh[in] A committed cmesh.

  • gtreeid[in] A global tree in cmesh.

Returns:

The hash of the tree’s geometry. If the tree does not have a geometry, returns t8_geometry_empty_hash.