Class Rattle
java.lang.Object
ffx.algorithms.dynamics.integrators.Rattle
The Rattle classes implements the RATTLE distance constraint method.
- Author:
- Jill J. Hauer
-
Constructor Summary
ConstructorsConstructorDescriptionRattle(int nVariables, MolecularAssembly molAss, double[] v) Constructor for Rattle. -
Method Summary
Modifier and TypeMethodDescriptionvoidpostForce1(MolecularAssembly molAss, double dt) postForce1.voidpostForce2(double dt) postForce2.
-
Constructor Details
-
Rattle
Constructor for Rattle.- Parameters:
nVariables- a int.molAss- aMolecularAssemblyobject.v- the initial velocities of the atoms.
-
-
Method Details
-
postForce1
postForce1.- Parameters:
molAss- aMolecularAssemblyobject.dt- a double.
-
postForce2
public void postForce2(double dt) postForce2.- Parameters:
dt- a double.
-