Function t8_dtet_compute_reference_coords

Function Documentation

void t8_dtet_compute_reference_coords(const t8_dtet_t *tet, const double *ref_coords, const size_t num_coords, double *out_coords)

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

Parameters:
  • tet[in] Input tet.

  • ref_coords[in] The reference coordinates in the tet (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 tet.