IPotential, IPotentialMolecularIPotentialMolecularSecondDerivative, IPotentialMolecularTorqueP22CLJmuQ, P2HSDipole, P2LJDipole, P2LJDipole, P2MoleculeSoftTruncatedSwitched, P2Nitrogen, P2NitrogenAB, P2NitrogenShellModel, P2ReactionFieldDipole, P2ReactionFieldDipoleTruncated, P2ReactionFieldDipoleTruncated.P0ReactionField, P2Water3PSoft, P2Water4PSoft, P2WaterSPCSoft, P2WaterTIP4PSoft, PotentialGroupSoftpublic interface PotentialMolecularSoft extends IPotentialMolecular
| Modifier and Type | Method | Description |
|---|---|---|
Vector[] |
gradient(IMoleculeList molecules) |
Returns the gradient of the potential as it applies to each atom in the
given AtomSet, indicating how the energy would change as the position of
the first atom is varied.
|
Vector[] |
gradient(IMoleculeList molecules,
Tensor pressureTensor) |
Returns the same gradient as gradient(IMoleculeList) and also adds in
the contribution of the molecules to the pressureTensor.
|
double |
virial(IMoleculeList atoms) |
getRange, nBody, setBoxenergydouble virial(IMoleculeList atoms)
Vector[] gradient(IMoleculeList molecules)
Vector[] gradient(IMoleculeList molecules, Tensor pressureTensor)