Gromacs  2019
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
multisim.h File Reference
#include <string>
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/gmxmpi.h"
+ Include dependency graph for multisim.h:

Description

Declares the multi-simulation support routines.

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Functions

gmx_multisim_t * init_multisystem (MPI_Comm comm, gmx::ArrayRef< const std::string > multidirs)
 Initializes multi-simulations. More...
 
void done_multisim (gmx_multisim_t *ms)
 Cleans up multi-system handler.
 

Function Documentation

gmx_multisim_t* init_multisystem ( MPI_Comm  comm,
gmx::ArrayRef< const std::string >  multidirs 
)

Initializes multi-simulations.

Splits the communication into multidirs.size() separate simulations, if >1, and creates a communication structure between the master these simulations.