Function t8_cmesh_offset_concentrate(int, sc_MPI_Comm, t8_gloidx_t)
Defined in File t8_cmesh_partition.h
Function Documentation
-
t8_shmem_array_t t8_cmesh_offset_concentrate(int proc, sc_MPI_Comm comm, t8_gloidx_t num_trees)
Create a valid partition table that concentrates all trees at a given process.
Note
This function is MPI collective.
- Parameters:
proc – [in] The processor that should get all trees.
comm – [in] The communicator to use.
num_trees – [in] The number of global trees in the partition.
- Returns:
A valid partition table for a cmesh with num_trees trees and communicator comm, where each tree is on process proc.