IPotential, IPotentialAtomic, Potential2Soft, Potential2Spherical, PotentialSoftP2Anharmonic, P2ArgonAziz1993, P2ArgonSlavicekEtAl2003, P2ArgonTangAndToennies2003, P2Cohesion, P2DiscreteFeynmanHibbs.P2HeEmpericalQuantum, P2Dreiding, P2Electrostatic, P2ElectrostaticWithHardCore, P2Exp6, P2Exp6Buckingham, P2Fene, P2Harmonic, P2HC2Yukawa, P2HePCJS, P2HePCKLJS, P2HeSimplified, P2HydrogenPatkowskiIso, P2LennardJones, P2LennardJonesDreiding, P2LJQQ, P2ModifiedMorse, P2Morse, P2QChemInterpolated, P2RepRowley, P2SoftSphere, P2SoftSphericalTruncated, P2WCA, P2Yukawapublic abstract class Potential2SoftSpherical extends Potential2 implements Potential2Soft
| Modifier and Type | Field | Description |
|---|---|---|
protected Boundary |
boundary |
|
protected Vector |
dr |
|
protected Vector[] |
gradient |
| Constructor | Description |
|---|---|
Potential2SoftSpherical(Space space) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract double |
d2u(double r2) |
The second derivative of the pair energy, times the square of the
separation: r^2 d^2u/dr^2.
|
abstract 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 |
getRange() |
Returns infinity.
|
Vector[] |
gradient(IAtomList atoms) |
Gradient of the pair potential as given by the du(double) method.
|
Vector[] |
gradient(IAtomList atoms,
Tensor pressureTensor) |
Returns the same gradient as gradient(AtomSet) and also adds in the
contribution of the AtomSet to the pressureTensor.
|
double |
hyperVirial(IAtomList atoms) |
Hypervirial of the pair as given by the du(double) and d2u(double) methods
|
double |
integral(double rC) |
Same as uInt.
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts.
|
abstract double |
uInt(double rC) |
Integral of the potential, used to evaluate corrections for potential truncation.
|
double |
virial(IAtomList atoms) |
Virial of the pair as given by the du(double) method
|
nBodyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waituprotected final Vector[] gradient
protected Boundary boundary
protected final Vector dr
public Potential2SoftSpherical(Space space)
public abstract double du(double r2)
du in interface Potential2Softpublic abstract double d2u(double r2)
public abstract double uInt(double rC)
public double energy(IAtomList atoms)
energy in interface IPotentialAtomicenergy in class Potentialpublic double virial(IAtomList atoms)
virial in interface PotentialSoftpublic double hyperVirial(IAtomList atoms)
hyperVirial in interface Potential2Softpublic Vector[] gradient(IAtomList atoms)
gradient in interface PotentialSoftpublic Vector[] gradient(IAtomList atoms, Tensor pressureTensor)
PotentialSoftgradient in interface PotentialSoftpublic double integral(double rC)
integral in interface Potential2Softpublic double getRange()
getRange in interface IPotentialgetRange in class Potentialpublic void setBox(Box box)
PotentialsetBox in interface IPotentialsetBox in class Potential