Function t8_dpyramid_init_linear_id

Function Documentation

void t8_dpyramid_init_linear_id(t8_dpyramid_t *p, const int level, t8_linearidx_t id)

Initialize a pyramid as the pyramid with a given global id in a uniform refinement of a given level.

Parameters:
  • p[inout] Existing pyramid whose data will be filled.

  • level[in] level of uniform grid to be considered.

  • id[in] Index to be considered.