Function t8_update_box_face_edges

Function Documentation

static void t8_update_box_face_edges(const int dim, const double *box_corners, double *box_dir, const int face, const t8_locidx_t *axes)

This is just a helper function that was needed when we update the directional vector around a box for t8_cmesh_set_vertices_2D and _3D.

Parameters:
  • dim[in] The dimension of the box. 2 or 3D.

  • box_corners[in] The vertices that define the box.

  • box_dir[inout] The direction vectors of the edges of the surrounding box.

  • face[in] The box face whose edges need to be updated.

  • axes[in] The number of quads or hexes along the axes.