Function t8_cmesh_get_tree_face_neighbor_eclass

Function Documentation

t8_eclass_t t8_cmesh_get_tree_face_neighbor_eclass(const t8_cmesh_t cmesh, const t8_locidx_t ltreeid, const int face)

Given a local tree id (of a local tree or ghost tree) and a face compute the eclass of the tree’s face neighbor.

Parameters:
  • cmesh[in] The cmesh to be considered.

  • ltreeid[in] The local id of a tree or a ghost.

  • face[in] A face number of the tree/ghost.

Returns:

The eclass of a neighbor tree of ltreeid across face. T8_ECLASS_INVALID if no neighbor exists.