MayerFunction
, java.io.Serializable
public class MayerENonGeneral extends java.lang.Object implements MayerFunction, java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
protected double |
pU |
Constructor | Description |
---|---|
MayerENonGeneral(IPotentialMolecular potential,
double pU0) |
Constructor Mayer function using given potential.
|
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) |
public MayerENonGeneral(IPotentialMolecular potential, double pU0)
public double f(IMoleculeList pair, double r2, double beta)
MayerFunction
f
in interface MayerFunction
r2
- TODOpublic IPotential getPotential()
getPotential
in interface MayerFunction
public void setBox(Box newBox)
setBox
in interface MayerFunction