IPotential, IPotentialMolecularpublic 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, waitnBodypublic P2DLPOLY(Space space)
public double energy(IMoleculeList atoms)
PotentialMolecularenergy in interface IPotentialMolecularenergy in class PotentialMolecularpublic double getRange()
IPotentialgetRange in interface IPotentialgetRange in class PotentialMolecularpublic void setBox(Box box)
PotentialMolecularsetBox in interface IPotentialsetBox in class PotentialMolecularpublic WriteConfigurationP2DLPOLY getConfigP2DLPOLY()
public void setConfigP2DLPOLY(WriteConfigurationP2DLPOLY configP2DLPOLY)