IPotential
, IPotentialAtomic
, Potential2Soft
, Potential2Spherical
, PotentialSoft
public final class P2Morse extends Potential2SoftSpherical
boundary, dr, gradient
Constructor | Description |
---|---|
P2Morse(Space space) |
|
P2Morse(Space space,
double epsilon,
double re,
double a) |
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 r*du/dr.
|
double |
getA() |
|
double |
getEpsilon() |
|
Dimension |
getEpsilonDimension() |
|
double |
getRe() |
|
Dimension |
getSigmaDimension() |
|
void |
setA(double dummy) |
|
void |
setEpsilon(double eps) |
|
void |
setRe(double rEq) |
|
double |
u(double r2) |
The energy u.
|
double |
uInt(double rC) |
Integral used for corrections to potential truncation.
|
nBody
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
energy, getRange, gradient, gradient, hyperVirial, integral, setBox, virial
public P2Morse(Space space)
public P2Morse(Space space, double epsilon, double re, double a)
public double u(double r2)
r2
- the square of the distance between the particles.public double du(double r2)
du
in interface Potential2Soft
du
in class Potential2SoftSpherical
public double d2u(double r2)
d2u
in class Potential2SoftSpherical
public double uInt(double rC)
uInt
in class Potential2SoftSpherical
public double getEpsilon()
public final void setEpsilon(double eps)
public Dimension getEpsilonDimension()
public double getRe()
public final void setRe(double rEq)
public Dimension getSigmaDimension()
public double getA()
public final void setA(double dummy)