IPotential
, IPotentialMolecular
public class PotentialDLPOLY extends PotentialMolecular
nBody, space
Constructor | Description |
---|---|
PotentialDLPOLY(Space space) |
Modifier and Type | Method | Description |
---|---|---|
double |
energy(IMoleculeList atoms) |
Returns the interaction energy between the given molecules.
|
WriteConfigurationDLPOLY |
getConfigDLPOLY() |
|
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 |
setConfigDLPOLY(WriteConfigurationDLPOLY configDLPOLY) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nBody
public PotentialDLPOLY(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 WriteConfigurationDLPOLY getConfigDLPOLY()
public void setConfigDLPOLY(WriteConfigurationDLPOLY configDLPOLY)