Gromacs
2018.8
|
#include <programs/mdrun/runner.h>
Runner object for supporting setup and execution of mdrun.
This class has responsibility for the lifetime of data structures that exist for the life of the simulation, e.g. for logging and communication.
Public Member Functions | |
Mdrunner ()=default | |
Defaulted constructor. More... | |
int | mainFunction (int argc, char *argv[]) |
Start running mdrun by calling its C-style main function. | |
int | mdrunner () |
Driver routine, that calls the different simulation methods. | |
t_commrec * | spawnThreads (int numThreadsToLaunch) |
Called when thread-MPI spawns threads. More... | |
void | reinitializeOnSpawnedThread () |
Re-initializes the object after threads spawn. More... | |
|
default |
Defaulted constructor.
Note that when member variables are not present in the constructor member initialization list (which is true for the default constructor), then they are initialized with any default member initializer specified when they were declared, or default initialized.
void gmx::Mdrunner::reinitializeOnSpawnedThread | ( | ) |
t_commrec * gmx::Mdrunner::spawnThreads | ( | int | numThreadsToLaunch | ) |
Called when thread-MPI spawns threads.
Start thread-MPI threads.
Called by mdrunner() to start a specific number of threads (including the main thread) for thread-parallel runs. This in turn calls mdrunner() for each thread. All options are the same as for mdrunner().