Function t8_dprism_compute_reference_coords(const t8_dprism_t *, const double *, const size_t, double *)
Defined in File t8_dprism_bits.c
Function Documentation
-
void t8_dprism_compute_reference_coords(const t8_dprism_t *elem, const double *ref_coords, const size_t num_coords, double *out_coords)
Convert points in the reference space of a prism element to points in the reference space of the tree (level 0) embedded in \( [0,1]^3 \).
- Parameters:
elem – [in] Pointer to the prism element.
ref_coords – [in] The reference coordinates in the prism (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 prism.