MayerFunction
public class MayerSSSeries extends java.lang.Object implements MayerFunction
Modifier and Type | Field | Description |
---|---|---|
protected int |
exp6 |
Constructor | Description |
---|---|
MayerSSSeries(int exp) |
Constructor for MayerHardSphere.
|
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
|
int |
getExp() |
Returns the HS diameter.
|
IPotential |
getPotential() |
|
void |
setBox(Box newBox) |
|
void |
setExp(int newExp) |
Sets the HS diameter.
|
public double f(IMoleculeList pair, double r2, double beta)
MayerFunction
f
in interface MayerFunction
r2
- TODOetomica.virial.MayerFunctionSpherical#f(etomica.AtomPair)
public int getExp()
public void setExp(int newExp)
sigma
- The sigma to setpublic void setBox(Box newBox)
setBox
in interface MayerFunction
public IPotential getPotential()
getPotential
in interface MayerFunction