IPotential
, IPotentialAtomic
, Potential2Soft
, Potential2Spherical
, PotentialSoft
public final class P2Yukawa extends Potential2SoftSpherical
boundary, dr, gradient
Constructor | Description |
---|---|
P2Yukawa(Space _space) |
|
P2Yukawa(Space _space,
double kappa,
double vzero) |
Modifier and Type | Method | Description |
---|---|---|
double |
d2u(double r2) |
r^2 * d^2u/dr^2 method.
|
double |
du(double r2) |
r * du/dr method.
|
double |
getKappa() |
Accessor methods for size and energy parameters.
|
double |
getVZero() |
|
void |
setKappa(double k) |
Mutator methods for size and energy parameters.
|
void |
setVZero(double v) |
|
double |
u(double r2) |
Energy method.
|
double |
uInt(double rC) |
Integral from rC to infinity.
|
nBody
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
energy, getRange, gradient, gradient, hyperVirial, integral, setBox, virial
public P2Yukawa(Space _space)
public P2Yukawa(Space _space, double kappa, double vzero)
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 getKappa()
public double getVZero()
public final void setKappa(double k)
public final void setVZero(double v)