Function t8_cmesh_alloc_offsets
Defined in File t8_cmesh.h
Function Documentation
-
t8_shmem_array_t t8_cmesh_alloc_offsets(int mpisize, sc_MPI_Comm comm)
Allocate a shared memory array to store the tree offsets of a cmesh.
See also
t8_shmem.h
- Parameters:
mpisize – [in] The number of processes.
comm – [in] The MPI communicator to use. Its mpisize must match mpisize. The shared memory type must have been set. Best practice would be calling sc_shmem_set_type (comm, T8_SHMEM_BEST_TYPE).
- Returns:
A t8_shmem_array struct that stores mpisize + 1 t8_gloidx_t entries.