Function t8_dpyramid_compute_reference_coords(const t8_dpyramid_t *, const double *, const size_t, double *)

Function Documentation

void t8_dpyramid_compute_reference_coords(const t8_dpyramid_t *elem, const double *ref_coords, const size_t num_coords, double *out_coords)

Convert points in the reference space of a pyramid element to points in the reference space of the tree (level 0) embedded in \( [0,1]^3 \).

Parameters:
  • elem[in] Input pyramid.

  • ref_coords[in] The reference coordinates in the pyramid (num_coords times \( [0,1]^3 \))

  • num_coords[in] Number of coordinates to evaluate

  • out_coords[out] An array of num_coords x 3 x double that will be filled with the reference coordinates of the points on the pyramid.