IPotential
, IPotentialMolecular
public class P2DLPOLY extends PotentialMolecular
nBody, space
Modifier and Type | Method | Description |
---|---|---|
double |
energy(IMoleculeList atoms) |
Returns the interaction energy between the given molecules.
|
WriteConfigurationP2DLPOLY |
getConfigP2DLPOLY() |
|
double |
getRange() |
Returns the range over which the potential applies.
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
void |
setConfigP2DLPOLY(WriteConfigurationP2DLPOLY configP2DLPOLY) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nBody
public P2DLPOLY(Space space)
public double energy(IMoleculeList atoms)
PotentialMolecular
energy
in interface IPotentialMolecular
energy
in class PotentialMolecular
public double getRange()
IPotential
getRange
in interface IPotential
getRange
in class PotentialMolecular
public void setBox(Box box)
PotentialMolecular
setBox
in interface IPotential
setBox
in class PotentialMolecular
public WriteConfigurationP2DLPOLY getConfigP2DLPOLY()
public void setConfigP2DLPOLY(WriteConfigurationP2DLPOLY configP2DLPOLY)