Function t8_forest_partition_cmesh

Function Documentation

void t8_forest_partition_cmesh(t8_forest_t forest, sc_MPI_Comm comm, int set_profiling)

Change the cmesh associated to a forest to a partitioned cmesh that is partitioned according to the tree distribution in the forest.

See also

t8_cmesh.h

Parameters:
  • forest[inout] The forest.

  • comm[in] The MPI communicator that is used to partition and commit the cmesh.

  • set_profiling[in] If true, profiling for the new cmesh will be enabled.