Function t8_cmesh_get_num_trees_at_vertex

Function Documentation

int t8_cmesh_get_num_trees_at_vertex(const t8_cmesh_t cmesh, t8_gloidx_t global_vertex)

Get the number of global trees a global vertex is connected to.

Note

if a tree is contained multiple times it is counted as multiple entries. Example: For a quad where all 4 vertices map to a single global vertex this function will return 4.

Parameters:
  • cmesh[in] A committed cmesh.

  • global_vertex[in] The global id of a vertex in the cmesh.