Function t8_cmesh_set_vertices_3D

Function Documentation

static void t8_cmesh_set_vertices_3D(t8_cmesh_t cmesh, const t8_eclass_t eclass, const double *boundary, const t8_locidx_t hexs_x, const t8_locidx_t hexs_y, const t8_locidx_t hexs_z, const int use_axis_aligned_geom, const int offset)

This is just a helper function that was needed when we set the tree vertices of a 3 dimensional eclass in t8_cmesh_new_hypercube_ext(*).

Note

each hex of hexs_x * hexs_y * hexs_z hexs in boundary contains several trees of class eclass.

Parameters:
  • cmesh[inout] The cmesh in which the vertices have to be set.

  • eclass[in] The class of each tree with dimension 3.

  • boundary[in] The boundary vertices of cmesh.

  • hexs_x[in] The number of hexs along the x-axis.

  • hexs_y[in] The number of hexs along the y-axis.

  • hexs_z[in] The number of hexs along the z-axis.

  • use_axis_aligned_geom[in] Flag if cmesh uses the axis aligned_geometry. Only available for T8_ECLASS_QUAD

  • offset[in] Offset for cmesh partitioning.