Function t8_dquad_compute_reference_coords(const t8_pquad_t *, const double *, const size_t, double *)

Function Documentation

void t8_dquad_compute_reference_coords(const t8_pquad_t *elem, const double *ref_coords, const size_t num_coords, double *out_coords)

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

Parameters:
  • elem[in] Input quad.

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

  • num_coords[in] Number of coordinates to evaluate

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