Function t8_cmesh_examples_compute_and_set_partition_range
Defined in File t8_cmesh_examples.cxx
Function Documentation
-
static void t8_cmesh_examples_compute_and_set_partition_range(t8_cmesh_t cmesh, const t8_gloidx_t num_trees, const int set_face_knowledge, sc_MPI_Comm comm)
This function calculates an ‘equal’ partition for the cmesh based on the number_trees supplied and stores the computed partition range within the cmesh.
See also
- Parameters:
cmesh – [inout] The cmesh for which the partition will be calculated
num_trees – [in] The number of trees the cmesh consists of
set_face_knowledge – [in] Set how much information is required on face connections (
comm – [in] The MPi communicator to use for the partition