IPotential
, IPotentialAtomic
, Potential2Soft
, Potential2Spherical
, PotentialSoft
, PotentialTruncated
public class P2SoftSphericalTruncatedForceShifted extends P2SoftSphericalTruncatedShifted
P2SoftSphericalTruncated.P0Lrc
Modifier and Type | Field | Description |
---|---|---|
protected double |
fShift |
makeLrc, potential, r2Cutoff, rCutoff
shift
boundary, 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
|
nBody
energy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
d2u, getMakeLrc, getRange, getTruncationRadius, getTruncationRadiusDimension, setBox, setMakeLrc, uInt
getWrappedPotential, makeLrcPotential
energy, gradient, gradient, hyperVirial, integral, virial
public P2SoftSphericalTruncatedForceShifted(Space _space, Potential2SoftSpherical potential, double truncationRadius)
public void setTruncationRadius(double rCut)
setTruncationRadius
in class P2SoftSphericalTruncatedShifted
public double u(double r2)
P2SoftSphericalTruncatedShifted
u
in interface Potential2Spherical
u
in class P2SoftSphericalTruncatedShifted
r2
- the squared distance between the atomspublic double du(double r2)
P2SoftSphericalTruncated
du
in interface Potential2Soft
du
in class P2SoftSphericalTruncated
r2
- the squared distance between the atoms