Function t8_dline_compute_reference_coords(const t8_dline_t *, const double *, const size_t, const size_t, double *)

Function Documentation

void t8_dline_compute_reference_coords(const t8_dline_t *line, const double *ref_coords, const size_t num_coords, const size_t skip_coords, double *out_coords)

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

Parameters:
  • line[in] Input line.

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

  • num_coords[in] Number of coordinates to evaluate

  • skip_coords[in] Only used for batch computation of prisms. In all other cases 0. Skip coordinates in the ref_coords and out_coords array.

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