Function t8_cmesh_load_and_distribute(const char *, int, sc_MPI_Comm, t8_load_mode_t, int)
Defined in File t8_cmesh.h
Function Documentation
-
t8_cmesh_t t8_cmesh_load_and_distribute(const char *fileprefix, int num_files, sc_MPI_Comm comm, t8_load_mode_t mode, int procs_per_node)
Load a cmesh from multiple files and distribute it across the processes.
Note
procs_per_node is only relevant in mode==JUQUEEN. If num_files = 1 a replicated cmesh is constructed.
- Parameters:
fileprefix – [in] The prefix of the files to load the cmesh from.
num_files – [in] The number of files to load.
comm – [in] The MPI communicator to use.
mode – [in] The load mode to use, see t8_load_mode_t.
procs_per_node – [in] The number of processes per node, only relevant in JUQUEEN mode.