1 #ifndef OPENMM_INTEGRATOR_H_
2 #define OPENMM_INTEGRATOR_H_
39 #include "internal/windowsExport.h"
93 virtual void step(
int steps) = 0;
114 virtual std::vector<std::string> getKernelNames() = 0;
131 virtual double computeKineticEnergy() = 0;
133 double stepSize, constraintTol;
This is the internal implementation of a Context.
Definition: ContextImpl.h:53
void setStepSize(double size)
Set the size of each time step, in picoseconds.
Definition: Integrator.h:73
A Context stores the complete state of a simulation.
Definition: Context.h:67
Context * owner
Definition: Integrator.h:98
An Integrator defines a method for simulating a System by integrating the equations of motion...
Definition: Integrator.h:54
DataType
This is an enumeration of the types of data which may be stored in a State.
Definition: State.h:61
virtual void cleanup()
This will be called by the Context when it is destroyed to let the Integrator do any necessary cleanu...
Definition: Integrator.h:109
ContextImpl * context
Definition: Integrator.h:97
void setConstraintTolerance(double tol)
Set the distance tolerance within which constraints are maintained, as a fraction of the constrained ...
Definition: Integrator.h:85
virtual void stateChanged(State::DataType changed)
This will be called by the Context when the user modifies aspects of the context state, such as positions, velocities, or parameters.
Definition: Integrator.h:124
double getConstraintTolerance() const
Get the distance tolerance within which constraints are maintained, as a fraction of the constrained ...
Definition: Integrator.h:79
double getStepSize() const
Get the size of each time step, in picoseconds.
Definition: Integrator.h:64