MayerFunctionpublic class MayerEHardSphere extends MayerESpherical
| Constructor | Description |
|---|---|
MayerEHardSphere() |
Constructor for MayerEHardSphere.
|
MayerEHardSphere(double sigma) |
| 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
|
double |
getSigma() |
Returns the HS diameter.
|
void |
setBox(Box newBox) |
|
void |
setSigma(double sigma) |
Sets the HS diameter.
|
getPotentialpublic MayerEHardSphere()
potential - public MayerEHardSphere(double sigma)
public double f(IMoleculeList pair, double r2, double beta)
MayerFunctionf in interface MayerFunctionf in class MayerESphericalr2 - TODOetomica.virial.MayerFunctionSpherical#f(etomica.AtomPair, double, double)public double getSigma()
public void setSigma(double sigma)
sigma - The sigma to setpublic void setBox(Box newBox)
setBox in interface MayerFunctionsetBox in class MayerESpherical