Function t8_dprism_face_neighbour(const t8_dprism_t *, int, t8_dprism_t *)

Function Documentation

int t8_dprism_face_neighbour(const t8_dprism_t *p, int face, t8_dprism_t *neigh)

Compute the face neighbor of a prism.

Note

p may point to the same prism as n.

Parameters:
  • p[in] Input prism.

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

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

Returns:

The face number of neigh of the respective face.