Function t8_dprism_children_at_face(const t8_dprism_t *, int, t8_dprism_t **, int, int *)
Defined in File t8_dprism_bits.h
Function Documentation
-
void t8_dprism_children_at_face(const t8_dprism_t *p, int face, t8_dprism_t **children, int num_children, int *child_indices)
Given a prism and a face of the prism, compute all children of the prism that touch the face.
- Parameters:
p – [in] The prism.
face – [in] A face of p.
children – [inout] Allocated prism, in which the children of p that share a face with face are stored. They will be stored in order of their child_id.
num_children – [in] The number of prisms in children. Must match the number of children that touch face.
child_indices – [inout] The indices of the children in children. Only filled if this is null previously.