Gromacs  2022.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Friends
gmx::ModularSimulatorAlgorithm Class Referencefinal

#include <gromacs/modularsimulator/simulatoralgorithm.h>


The modular simulator.

Based on the input given, this simulator builds independent elements and signallers and stores them in a respective vector. The run function runs the simulation by, in turn, building a task list from the elements for a predefined number of steps, then running the task list, and repeating until the stop criterion is fulfilled.

The simulator algorithm is owning all elements involved in the simulation and is hence controlling their lifetime. This ensures that pointers and callbacks exchanged between elements remain valid throughout the duration of the simulation run.

Public Member Functions

const SimulatorRunFunctiongetNextTask ()
 Get next task in queue.


class ModularSimulatorAlgorithmBuilder

The documentation for this class was generated from the following files: