MayerFunction
public class MayerPTAtt extends java.lang.Object implements MayerFunction
Modifier and Type | Field | Description |
---|---|---|
protected long |
factOrder |
|
protected int |
order |
|
protected IPotentialMolecular |
potentialAtt |
|
protected IPotentialMolecular |
potentialRef |
Constructor | Description |
---|---|
MayerPTAtt(IPotentialMolecular potentialRef,
IPotentialMolecular potentialAtt,
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 IPotentialMolecular potentialRef
protected final IPotentialMolecular potentialAtt
protected final int order
protected final long factOrder
public MayerPTAtt(IPotentialMolecular potentialRef, IPotentialMolecular potentialAtt, 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