Function t8_cmesh_gather_treecount(t8_cmesh_t, sc_MPI_Comm)

Function Documentation

void t8_cmesh_gather_treecount(t8_cmesh_t cmesh, sc_MPI_Comm comm)

Create the offset array for a partitioned cmesh. This function is collective.

Note

if the offset array (cmesh->tree_offsets) already exists, it is not changed.

Parameters:
  • cmesh[inout] The cmesh whose array should be created. Must be partitioned and committed.

  • comm[in] Mpi communicator used to create the offset array.