Gromacs
2020-beta1
|
#include <gromacs/mdrun/simulationcontext.h>
Simulation environment and configuration.
SimulationContext allows a simulation module () to retrieve runtime parameters and resources from client code. The client retains ownership of the context and its resources, with exceptions as noted.
The public interface of SimulationContext is not yet well-specified. Client code can create an instance with gmx::createSimulationContext()
Public Member Functions | |
SimulationContext ()=delete | |
Object must be initialized with non-default constructor. | |
SimulationContext (CommrecHandle communicationRecord) | |
Initializate with borrowed values. More... | |
SimulationContext (SimulationContext &&source) noexcept | |
Move constructor. | |
Public Attributes | |
CommrecHandle | communicationRecord_ |
Communicator handle. | |
|
explicit |
Initializate with borrowed values.
communicationRecord | non-owning communication record handle. |
Client code is responsible for cleaning up communicationRecord after SimulationContext is destroyed.