Function t8_cmesh_new_empty(sc_MPI_Comm, const int, const int)

Function Documentation

t8_cmesh_t t8_cmesh_new_empty(sc_MPI_Comm comm, const int do_partition, const int dimension)

Construct a cmesh that has no trees. We do not know a special use case, this function is merely for debugging and to show the possibility.

Parameters:
  • comm[in] mpi communicator to be used with the new cmesh.

  • do_partition[in] Flag whether the cmesh should be partitioned or not.

  • dimension[in] An empty cmesh requires a dimension nevertheless. 0 <= tree dimension <= 3.

Returns:

A committed t8_cmesh structure that has no trees.