IPotential
, IPotentialAtomic
, Potential2Soft
, Potential2Spherical
, PotentialSoft
public class P2HeSimplified extends Potential2SoftSpherical
Modifier and Type | Class | Description |
---|---|---|
class |
P2HeSimplified.P2HeQFH |
This inner class can calculates the Feynman-Hibbs semiclassical
approximation for the potential.
|
class |
P2HeSimplified.P2HeTI |
Modifier and Type | Field | Description |
---|---|---|
protected double |
A0 |
|
protected double |
A1 |
|
protected double |
A2 |
|
protected double |
A3 |
|
protected double |
sigmaHC2 |
|
static boolean |
useC10 |
boundary, dr, gradient
Constructor | Description |
---|---|
P2HeSimplified(Space space) |
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 |
getA(int i) |
Returns the ith parameter value
u = A0 * exp(-A1*r) - A2/r^6 - A3/r^X
where X = 10 if useC10 is true, X=8 otherwise
|
P2HeSimplified.P2HeQFH |
makeQFH(double temperature) |
|
P2HeSimplified.P2HeTI |
makeTI(double temperature) |
|
void |
setA(int i,
double a) |
Sets the ith parameter value
u = A0 * exp(-A1*r) - A2/r^6 - A3/r^X
where X = 10 if useC10 is true, X=8 otherwise
|
double |
u(double r2) |
The energy u.
|
double |
uInt(double rC) |
Integral used for corrections to potential truncation.
|
nBody
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
energy, getRange, gradient, gradient, hyperVirial, integral, setBox, virial
public static final boolean useC10
protected double A0
protected double A1
protected double A2
protected double A3
protected final double sigmaHC2
public P2HeSimplified(Space space)
public double u(double r2)
r2
- the square of the distance between the particles.public double du(double r2)
du
in interface Potential2Soft
du
in class Potential2SoftSpherical
public double d2u(double r2)
d2u
in class Potential2SoftSpherical
public double uInt(double rC)
uInt
in class Potential2SoftSpherical
public P2HeSimplified.P2HeQFH makeQFH(double temperature)
public P2HeSimplified.P2HeTI makeTI(double temperature)
public void setA(int i, double a)
public double getA(int i)