DrudeSCFIntegrator¶
-
class
OpenMM::DrudeSCFIntegrator¶ This is a leap-frog Verlet
Integratorthat simulates systems with Drude particles. It uses the self-consistent field (SCF) method: at every time step, the positions of Drude particles are adjusted to minimize the potential energy.This
Integratorrequires theSystemto include aDrudeForce, which it uses to identify the Drude particles.Methods
DrudeSCFIntegratorCreate a DrudeSCFIntegrator.getMinimizationErrorToleranceGet the error tolerance to use when minimizing the potential energy. setMinimizationErrorToleranceSet the error tolerance to use when minimizing the potential energy. stepAdvance a simulation through time by taking a series of time steps. -
DrudeSCFIntegrator(double stepSize)¶ Create a
DrudeSCFIntegrator().Parameters: - stepSize – the step size with which to integrator the system (in picoseconds)
-
double
getMinimizationErrorTolerance() const¶ Get the error tolerance to use when minimizing the potential energy. This roughly corresponds to the maximum allowed force magnitude on the Drude particles after minimization.
Returns: the error tolerance to use, measured in kJ/mol/nm
-
void
setMinimizationErrorTolerance(double tol)¶ Set the error tolerance to use when minimizing the potential energy. This roughly corresponds to the maximum allowed force magnitude on the Drude particles after minimization.
Parameters: - tol – the error tolerance to use, measured in kJ/mol/nm
-
void
step(int steps)¶ Advance a simulation through time by taking a series of time steps.
Parameters: - steps – the number of time steps to take
-