Function t8_cmesh_new_bigmesh

Function Documentation

t8_cmesh_t t8_cmesh_new_bigmesh(t8_eclass_t eclass, int num_trees, sc_MPI_Comm comm)

Construct a mesh consisting of a given number of same type trees.

Parameters:
  • eclass[in] This element class determines the dimension and the type trees used.

  • num_trees[in] The number of trees to use.

  • comm[in] The MPI_Communicator used to commit the cmesh.

Returns:

A valid cmesh, as if _init and _commit had been called.