MayerFunction
public 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.
|
getPotential
public MayerEHardSphere()
potential
- public MayerEHardSphere(double sigma)
public double f(IMoleculeList pair, double r2, double beta)
MayerFunction
f
in interface MayerFunction
f
in class MayerESpherical
r2
- 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 MayerFunction
setBox
in class MayerESpherical