IPotential
, IPotentialMolecular
public class P22CLJQ extends PotentialMolecular
nBody, space
Constructor | Description |
---|---|
P22CLJQ(Space space) |
|
P22CLJQ(Space space,
double sigma,
double epsilon,
double moment) |
Modifier and Type | Method | Description |
---|---|---|
protected double |
calculateEnergy(double r2) |
|
double |
energy(IMoleculeList pair) |
Returns the interaction energy between the given molecules.
|
double |
getEpsilon() |
|
double |
getRange() |
Returns the range over which the potential applies.
|
double |
getSigma() |
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
void |
setEpsilon(double eps) |
|
void |
setHardCoreDiamterSq(double val) |
|
void |
setQuadrupolarMomentSquare(double moment) |
|
void |
setSigma(double s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
nBody
public P22CLJQ(Space space)
public P22CLJQ(Space space, double sigma, double epsilon, double moment)
public void setHardCoreDiamterSq(double val)
public void setBox(Box box)
PotentialMolecular
setBox
in interface IPotential
setBox
in class PotentialMolecular
public double getRange()
IPotential
getRange
in interface IPotential
getRange
in class PotentialMolecular
public double energy(IMoleculeList pair)
PotentialMolecular
energy
in interface IPotentialMolecular
energy
in class PotentialMolecular
protected double calculateEnergy(double r2)
public double getSigma()
public final void setSigma(double s)
public double getEpsilon()
public final void setEpsilon(double eps)
public final void setQuadrupolarMomentSquare(double moment)