Function t8_dtri_face_neighbour

Function Documentation

int t8_dtri_face_neighbour(const t8_dtri_t *element, int face, t8_dtri_t *neigh)

Compute the face neighbor of a triangle.

Note

element may point to the same triangle as neigh.

Parameters:
  • element[in] Input triangle.

  • face[in] The face across which to generate the neighbor.

  • neigh[inout] Existing triangle whose data will be filled.