Function t8_dpyramid_child(const t8_dpyramid_t *, const int, t8_dpyramid_t *)

Function Documentation

void t8_dpyramid_child(const t8_dpyramid_t *elem, const int child_id, t8_dpyramid_t *child)

Compute the child_id-th child in Morton order of a pyramid.

Parameters:
  • elem[in] Input pyramid.

  • child_id[inout] The id of the child, 0..7 in Morton order.

  • child[out] Existing pyramid whose data will be filled with the date of t’s child_id-th child.