MayerFunction
public class MayerHardSphere extends java.lang.Object implements MayerFunction
Constructor | Description |
---|---|
MayerHardSphere() |
Constructor for MayerHardSphere.
|
MayerHardSphere(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
|
IPotential |
getPotential() |
|
double |
getSigma() |
Returns the HS diameter.
|
void |
setBox(Box newBox) |
|
void |
setSigma(double sigma) |
Sets the HS diameter.
|
public MayerHardSphere()
public MayerHardSphere(double sigma)
public double f(IMoleculeList pair, double r2, double beta)
MayerFunction
f
in interface MayerFunction
r2
- TODOetomica.virial.MayerFunctionSpherical#f(etomica.AtomPair)
public double getSigma()
public void setSigma(double sigma)
sigma
- The sigma to setpublic IPotential getPotential()
getPotential
in interface MayerFunction
public void setBox(Box newBox)
setBox
in interface MayerFunction