IPotential, IPotentialAtomic, Potential2Soft, Potential2Spherical, PotentialSoftpublic final class P2HC2Yukawa extends Potential2SoftSpherical
boundary, gradient| Constructor | Description |
|---|---|
P2HC2Yukawa(Space _space) |
|
P2HC2Yukawa(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 of the pair energy, times the separation r: r du/dr.
|
double |
energy(IAtomList atoms) |
Energy of the pair as given by the u(double) method
|
double |
getEpsilon() |
|
double |
getRange() |
Returns infinity.
|
double |
getSigma() |
Accessor methods for size and energy parameters.
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
void |
setEpsilon(double eps) |
Mutator methods for size and energy parameters.
|
void |
setParameters(double s) |
Parameter calculation method.
|
void |
setSigma(double s) |
|
double |
u(double r2) |
Energy method.
|
double |
uInt(double rC) |
Integral from rC to infinity.
|
nBodyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgradient, gradient, hyperVirial, integral, virialpublic P2HC2Yukawa(Space _space)
public P2HC2Yukawa(Space _space, double sigma, double epsilon)
public double d2u(double r2)
Potential2SoftSphericald2u in class Potential2SoftSphericalpublic double du(double r2)
Potential2SoftSphericaldu in interface Potential2Softdu in class Potential2SoftSphericalpublic double getRange()
Potential2SoftSphericalgetRange in interface IPotentialgetRange in class Potential2SoftSphericalpublic void setBox(Box box)
PotentialsetBox in interface IPotentialsetBox in class Potential2SoftSphericalpublic double u(double r2)
r2 - the square of the distance between the particles.public double energy(IAtomList atoms)
energy in interface IPotentialAtomicenergy in class Potential2SoftSphericalpublic double uInt(double rC)
uInt in class Potential2SoftSphericalpublic double getSigma()
public double getEpsilon()
public final void setEpsilon(double eps)
public final void setSigma(double s)
public final void setParameters(double s)