Function t8_cmesh_gather_treecount_nocommit(t8_cmesh_t, sc_MPI_Comm)

Function Documentation

void t8_cmesh_gather_treecount_nocommit(t8_cmesh_t cmesh, sc_MPI_Comm comm)

Perform the same task as t8_cmesh_gather_treecount, but do not perform the debugging check whether cmesh is committed.

Note

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

Warning

Use with caution and only if you know what you are doing. Prefer t8_cmesh_gather_treecount. This function is collective.

Parameters:
  • cmesh[inout] The cmesh whose array should be created. Must be partitioned and first and last local tree as well as the total number of tree must be set.

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