public class QSeries
extends java.lang.Object
Constructor | Description |
---|---|
QSeries(BetaSource bs) |
Modifier and Type | Method | Description |
---|---|---|
double |
bCalc(int j) |
Computes the coefficient b_j based on the beta coefficients given by the BetaSource.
|
double[] |
coeffQ(int N) |
Computes coefficients of the polynomial in volume for Q for the given N.
|
static void |
main(java.lang.String[] args) |
|
double[] |
pCalc(int N,
double[] rho,
double T) |
Computes the pressure via dlnQ/dV based on the volume series for Q given by coeffQ.
|
double[] |
qCalc(int N,
double[] rho) |
Computes Q * N!/V^N based on the volume series for Q given by qCalc.
|
public QSeries(BetaSource bs)
public double bCalc(int j)
public double[] coeffQ(int N)
public double[] qCalc(int N, double[] rho)
public double[] pCalc(int N, double[] rho, double T)
T
- temperature, given simply to yield the pressure as T * dlnQ/dVpublic static void main(java.lang.String[] args)