Go to the source code of this file.
Classes | |
class | libMesh::NumericVector< T > |
struct | LocalRankConfig |
Holds app partitioning information relevant to the a particular rank for a multiapp scenario. More... | |
class | SubAppBackups |
Helper class for holding Sub-app backups. More... | |
class | MultiApp |
A MultiApp represents one or more MOOSE applications that are running simultaneously. More... | |
Namespaces | |
libMesh | |
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines for std::strings. | |
libMesh::MeshTools | |
Functions | |
LocalRankConfig | rankConfig (processor_id_type rank, processor_id_type nprocs, dof_id_type napps, processor_id_type min_app_procs, processor_id_type max_app_procs, bool batch_mode=false) |
Returns app partitioning information relevant to the given rank for a multiapp scenario with the given number of apps (napps) and parallel/mpi procs (nprocs). More... | |
void | dataStore (std::ostream &stream, SubAppBackups &backups, void *context) |
void | dataLoad (std::istream &stream, SubAppBackups &backups, void *context) |
void dataLoad | ( | std::istream & | stream, |
SubAppBackups & | backups, | ||
void * | context | ||
) |
Definition at line 1489 of file MultiApp.C.
void dataStore | ( | std::ostream & | stream, |
SubAppBackups & | backups, | ||
void * | context | ||
) |
Definition at line 1478 of file MultiApp.C.
LocalRankConfig rankConfig | ( | processor_id_type | rank, |
processor_id_type | nprocs, | ||
dof_id_type | napps, | ||
processor_id_type | min_app_procs, | ||
processor_id_type | max_app_procs, | ||
bool | batch_mode = false |
||
) |
Returns app partitioning information relevant to the given rank for a multiapp scenario with the given number of apps (napps) and parallel/mpi procs (nprocs).
min_app_procs and max_app_procs define the min and max number of procs that must/can be used in parallel to run a given (sub)app. batch_mode affects whether 1 subapp is assigned per rank to be re-used to run each of the (napps) simulations or whether 1 subapp is created for each napps simulation (globally).
Each proc calls this function in order to determine which (sub)apps among the global list of all subapps for a multiapp should be run by the given rank.
Definition at line 1285 of file MultiApp.C.
Referenced by Sampler::constructRankConfig(), and MultiApp::init().