IPotential
, IPotentialAtomic
, Potential2Soft
, Potential2Spherical
, PotentialSoft
public class P2Exp6 extends Potential2SoftSpherical
Modifier and Type | Field | Description |
---|---|---|
protected Vector |
dr01 |
boundary, dr, gradient
Constructor | Description |
---|---|
P2Exp6(Space _space) |
|
P2Exp6(Space _space,
double AA,
double BB,
double CC) |
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() |
|
Dimension |
getADimension() |
|
double |
getB() |
|
Dimension |
getBDimension() |
|
double |
getC() |
|
Dimension |
getCDimension() |
|
void |
setA(double a) |
|
void |
setB(double b) |
|
void |
setC(double c) |
|
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
protected final Vector dr01
public P2Exp6(Space _space)
public P2Exp6(Space _space, double AA, double BB, double CC)
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 getA()
public final void setA(double a)
public double getB()
public final void setB(double b)
public double getC()
public final void setC(double c)
public Dimension getADimension()
public Dimension getBDimension()
public Dimension getCDimension()