MayerFunction
public class MayerSphericalPTAtt extends java.lang.Object implements MayerFunction
Modifier and Type | Field | Description |
---|---|---|
protected long |
factOrder |
|
protected int |
order |
|
protected Potential2Spherical |
potentialFull |
|
protected Potential2Spherical |
potentialRef |
Constructor | Description |
---|---|
MayerSphericalPTAtt(Potential2Spherical potentialRef,
Potential2Spherical potentialFull,
int order) |
Constructor takes reference potential, attractive component and order in temperature.
|
Modifier and Type | Method | Description |
---|---|---|
double |
f(IMoleculeList pair,
double r2,
double beta) |
returns Mayer function between atoms in the pair at temperature
1/beta
|
IPotential |
getPotential() |
|
void |
setBox(Box newBox) |
protected final Potential2Spherical potentialRef
protected final Potential2Spherical potentialFull
protected final int order
protected final long factOrder
public MayerSphericalPTAtt(Potential2Spherical potentialRef, Potential2Spherical potentialFull, int order)
public double f(IMoleculeList pair, double r2, double beta)
MayerFunction
f
in interface MayerFunction
r2
- TODOpublic void setBox(Box newBox)
setBox
in interface MayerFunction
public IPotential getPotential()
getPotential
in interface MayerFunction