IPotential
, IPotentialAtomic
, Potential2Soft
, Potential2Spherical
, PotentialSoft
public class P2LJQQ extends Potential2SoftSpherical
Modifier and Type | Field | Description |
---|---|---|
protected double |
temperature |
boundary, dr, gradient
Constructor | Description |
---|---|
P2LJQQ(Space space) |
|
P2LJQQ(Space space,
double sigma,
double epsilon,
double momentSquared) |
Modifier and Type | Method | Description |
---|---|---|
double |
d2u(double r2) |
The second derivative of the pair energy, times the square of the
separation: r^2 d^2u/dr^2.
|
double |
du(double r2) |
The derivative of the pair energy, times the separation r: r du/dr.
|
double |
getEpsilon() |
|
double |
getQuadrupolarMomentSquare() |
|
double |
getSigma() |
|
double |
getTemperature() |
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
void |
setEpsilon(double eps) |
|
void |
setQuadrupolarMomentSquare(double moment) |
|
void |
setSigma(double s) |
|
void |
setTemperature(double newTemperature) |
Sets the temperature used for Boltzmann-weighting of the orientational
average energy used in u(double) and integral(double)
|
double |
u(double r2) |
The pair energy u(r^2) with no truncation applied.
|
double |
uInt(double rC) |
Integral of the potential, used to evaluate corrections for potential truncation.
|
nBody
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
energy, getRange, gradient, gradient, hyperVirial, integral, virial
public P2LJQQ(Space space)
public P2LJQQ(Space space, double sigma, double epsilon, double momentSquared)
public void setBox(Box box)
Potential
setBox
in interface IPotential
setBox
in class Potential2SoftSpherical
public double getSigma()
public final void setSigma(double s)
public double getEpsilon()
public void setEpsilon(double eps)
public void setQuadrupolarMomentSquare(double moment)
public double getQuadrupolarMomentSquare()
public void setTemperature(double newTemperature)
public double getTemperature()
public double u(double r2)
Potential2Spherical
r2
- the square of the distance between the particles.public double du(double r2)
Potential2SoftSpherical
du
in interface Potential2Soft
du
in class Potential2SoftSpherical
public double d2u(double r2)
Potential2SoftSpherical
d2u
in class Potential2SoftSpherical
public double uInt(double rC)
Potential2SoftSpherical
uInt
in class Potential2SoftSpherical