Class eos_had_virial (o2scl)¶
-
class o2scl::eos_had_virial¶
Compute the virial EOS.
Public Functions
-
inline void solve_fugacity(ubvector &x)¶
Solve for the fugacities given the densities.
This function computes zn and zp from pn and nn presuming that lambda, b_n and b_pn have already been specified.
-
inline void mfn_e(ubvector &x)¶
-
inline double mfn21(ubvector &x2)¶
Here, a brief description of this function derivative with respect to nn of mfn (linear solver)
-
inline double mfn31(ubvector &x3)¶
Here, a brief description of this function derivative with respect to pn of mfn (linear solver)
-
inline int mfn41(ubvector &x4)¶
Here, a brief description of this function derivative with respect to T of mfn.
Public Members
-
int nf¶
-
int nd¶
-
double nn¶
-
double pn¶
-
double lambda¶
-
double T¶
-
double b_n¶
-
double b_pn¶
-
double mfn2_mu_n¶
-
double mfn2_mu_p¶
-
double dbndT¶
-
double zp¶
-
double zn¶
-
double dbpndT¶
-
double dlambdadT¶
-
double npt¶
-
double nnt¶
-
double a¶
-
double b¶
-
double c¶
-
double d¶
-
double e¶
-
ubmatrix A¶
-
ubvector B¶
-
o2scl_linalg::linear_solver_LU<ubvector, ubmatrix> lsol¶
Linear system solver.
-
o2scl::quartic_real_coeff_cern quart¶
Quartic polynomial solver.
-
o2scl::poly_real_coeff_gsl quart2¶
-
std::complex<double> res_zp[4]¶
Storage for the four roots.
-
std::complex<double> res_zn[4]¶
Storage for the four roots.
-
inline void solve_fugacity(ubvector &x)¶