public class HardSphere
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected double |
sqrt2 |
| Constructor | Description |
|---|---|
HardSphere() |
| Modifier and Type | Method | Description |
|---|---|---|
double |
deltaA(double rho1,
double rho2,
int n) |
Returns the difference between absolute free energies between the given
densities for solid (FCC) hard spheres.
|
double |
idFreeEnergy(double rho) |
Returns the ideal gas free energy for the given density.
|
protected double |
integrand(double rho) |
|
static void |
main(java.lang.String[] args) |
|
double |
zSolid(double rho) |
Returns the compressibility factor for solid (FCC) hard spheres at the
given density.
|
public double zSolid(double rho)
rho - Density of solid hard spheresprotected double integrand(double rho)
public double deltaA(double rho1,
double rho2,
int n)
rho1 - Density of solid 1rho2 - Density of solid 2n - number of pointspublic double idFreeEnergy(double rho)
rho - Density of ideal gaspublic static void main(java.lang.String[] args)