IPotential, IPotentialAtomic, Potential2Soft, Potential2Spherical, PotentialSoft, PotentialTruncatedpublic class P2SoftSphericalTruncatedForceShifted extends P2SoftSphericalTruncatedShifted
P2SoftSphericalTruncated.P0Lrc| Modifier and Type | Field | Description |
|---|---|---|
protected double |
fShift |
makeLrc, potential, r2Cutoff, rCutoffshiftboundary, dr, gradient| Constructor | Description |
|---|---|
P2SoftSphericalTruncatedForceShifted(Space _space,
Potential2SoftSpherical potential,
double truncationRadius) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
du(double r2) |
Returns the derivative (r du/dr) of the wrapped potential if the separation
is less than the cutoff value
|
void |
setTruncationRadius(double rCut) |
Mutator method for the radial cutoff distance.
|
double |
u(double r2) |
Returns the energy of the wrapped potential if the separation
is less than the cutoff value
|
nBodyenergyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitd2u, getMakeLrc, getRange, getTruncationRadius, getTruncationRadiusDimension, setBox, setMakeLrc, uIntgetWrappedPotential, makeLrcPotentialenergy, gradient, gradient, hyperVirial, integral, virialpublic P2SoftSphericalTruncatedForceShifted(Space _space, Potential2SoftSpherical potential, double truncationRadius)
public void setTruncationRadius(double rCut)
setTruncationRadius in class P2SoftSphericalTruncatedShiftedpublic double u(double r2)
P2SoftSphericalTruncatedShiftedu in interface Potential2Sphericalu in class P2SoftSphericalTruncatedShiftedr2 - the squared distance between the atomspublic double du(double r2)
P2SoftSphericalTruncateddu in interface Potential2Softdu in class P2SoftSphericalTruncatedr2 - the squared distance between the atoms