Function t8_cmesh_load_and_distribute

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

IMPORTANT: Currently, this functionality is deactivated, because it is outdated. Calling it will thus result in an error.

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.