IPotential
, IPotentialMolecular
public class PNWaterGCPM.PNWaterGCPMCached extends java.lang.Object implements IPotentialMolecular
Constructor | Description |
---|---|
PNWaterGCPMCached() |
Modifier and Type | Method | Description |
---|---|---|
double |
energy(IMoleculeList molecules) |
Returns the interaction energy between the given atoms.
|
double |
getRange() |
Returns the range over which the potential applies.
|
int |
nBody() |
The number of atoms on which the potential depends.
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts so that it can
properly consider the boundaries.
|
public double energy(IMoleculeList molecules)
IPotentialMolecular
energy
in interface IPotentialMolecular
public double getRange()
IPotential
getRange
in interface IPotential
public void setBox(Box box)
IPotential
setBox
in interface IPotential
public int nBody()
IPotential
nBody
in interface IPotential