IPotential, IPotentialAtomic, Potential2Soft, Potential2Spherical, PotentialSoftpublic class P2LennardJones extends Potential2SoftSpherical
boundary, dr, gradient| Constructor | Description |
|---|---|
P2LennardJones(Space space) |
|
P2LennardJones(Space space,
double sigma,
double epsilon) |
| 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 |
getEpsilon() |
Accessor method for Lennard-Jones energy parameter
|
Dimension |
getEpsilonDimension() |
|
double |
getSigma() |
Accessor method for Lennard-Jones size parameter.
|
Dimension |
getSigmaDimension() |
|
void |
setEpsilon(double eps) |
Mutator method for Lennard-Jones energy parameter
|
void |
setSigma(double s) |
Mutator method for Lennard-Jones size parameter.
|
double |
u(double r2) |
The energy u.
|
double |
uInt(double rC) |
Integral used for corrections to potential truncation.
|
nBodyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenergy, getRange, gradient, gradient, hyperVirial, integral, setBox, virialpublic P2LennardJones(Space space)
public P2LennardJones(Space space, double sigma, double epsilon)
public double u(double r2)
r2 - the square of the distance between the particles.public double du(double r2)
du in interface Potential2Softdu in class Potential2SoftSphericalpublic double d2u(double r2)
d2u in class Potential2SoftSphericalpublic double uInt(double rC)
uInt in class Potential2SoftSphericalpublic double getSigma()
public final void setSigma(double s)
public Dimension getSigmaDimension()
public double getEpsilon()
public final void setEpsilon(double eps)
public Dimension getEpsilonDimension()