IPotential
, IPotentialAtomic
, Potential2Spherical
public class P2EffectiveFeynmanHibbs extends java.lang.Object implements Potential2Spherical
Modifier and Type | Field | Description |
---|---|---|
protected Boundary |
boundary |
|
protected Vector |
dr |
|
protected double |
fac |
|
protected double |
mass |
|
protected Potential2SoftSpherical |
p2Classy |
|
protected double |
temperature |
Constructor | Description |
---|---|
P2EffectiveFeynmanHibbs(Space space,
Potential2SoftSpherical p2Classical) |
Modifier and Type | Method | Description |
---|---|---|
double |
dudkT(double r2) |
|
double |
energy(IAtomList atoms) |
Energy of the pair as given by the u(double) method
|
double |
getRange() |
Returns the range over which the potential applies.
|
static void |
main(java.lang.String[] args) |
|
int |
nBody() |
The number of atoms on which the potential depends.
|
void |
setBox(Box box) |
Informs the potential of the box on which it acts so that it can
properly consider the boundaries.
|
void |
setMass(double m) |
Sets the mass; we assume the reduced mass is m/2 (correct for particles
with identical mass).
|
void |
setTemperature(double temperature) |
|
double |
u(double r2) |
The pair energy u(r^2) with no truncation applied.
|
protected final Potential2SoftSpherical p2Classy
protected final Vector dr
protected Boundary boundary
protected double temperature
protected double mass
protected double fac
public P2EffectiveFeynmanHibbs(Space space, Potential2SoftSpherical p2Classical)
public int nBody()
IPotential
nBody
in interface IPotential
public void setTemperature(double temperature)
public void setMass(double m)
public double energy(IAtomList atoms)
energy
in interface IPotentialAtomic
public double u(double r2)
Potential2Spherical
u
in interface Potential2Spherical
r2
- the square of the distance between the particles.public double dudkT(double r2)
public void setBox(Box box)
IPotential
setBox
in interface IPotential
public double getRange()
IPotential
getRange
in interface IPotential
public static void main(java.lang.String[] args)