Function t8_dpyramid_face_neighbor_inside
Defined in File t8_dpyramid_bits.h
Function Documentation
-
int t8_dpyramid_face_neighbor_inside(const t8_dpyramid_t *p, t8_dpyramid_t *neigh, const int face, int *neigh_face)
Compute the neighbor of p along a given face and the number of the dual face if the neighbor is inside the root pyramid.
Return 0 if the neighbor is not inside, 1 ow.
- Parameters:
p – [in] Input pyramid
neigh – [inout] The neighbor of p
face – [in] The face of p along which neigh is computed
neigh_face – [inout] The dual face