IPotential, IPotentialMolecularpublic class P0LatticeEnergyCorrec extends PotentialMolecular
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
numMolec |
nBody, space| Constructor | Description |
|---|---|
P0LatticeEnergyCorrec(Space space) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
energy(IMoleculeList atoms) |
Returns the interaction energy between the given molecules.
|
double |
getRange() |
Returns the range over which the potential applies.
|
ISpecies |
getSpecies() |
|
void |
setBox(Box p) |
Informs the potential of the box on which it acts.
|
void |
setSpecies(ISpecies species) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnBodypublic P0LatticeEnergyCorrec(Space space)
public double energy(IMoleculeList atoms)
PotentialMolecularenergy in interface IPotentialMolecularenergy in class PotentialMolecularpublic void setBox(Box p)
PotentialMolecularsetBox in interface IPotentialsetBox in class PotentialMolecularpublic ISpecies getSpecies()
public void setSpecies(ISpecies species)
public double getRange()
IPotentialgetRange in interface IPotentialgetRange in class PotentialMolecular