IPotential
, IPotentialMolecular
public 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, wait
nBody
public P0LatticeEnergyCorrec(Space space)
public double energy(IMoleculeList atoms)
PotentialMolecular
energy
in interface IPotentialMolecular
energy
in class PotentialMolecular
public void setBox(Box p)
PotentialMolecular
setBox
in interface IPotential
setBox
in class PotentialMolecular
public ISpecies getSpecies()
public void setSpecies(ISpecies species)
public double getRange()
IPotential
getRange
in interface IPotential
getRange
in class PotentialMolecular