Class eos_had_virial (o2scl)¶
-
class eos_had_virial¶
Virial solver with derivatives.
First derivatives of the fugacities
-
double dzndnn¶
-
double dzndnp¶
-
double dzpdnn¶
-
double dzpdnp¶
-
double dzndT¶
-
double dzpdT¶
Second derivatives of the fugacities
-
double d2zndnn2¶
-
double d2zndnndnp¶
-
double d2zndnp2¶
-
double d2zpdnn2¶
-
double d2zpdnndnp¶
-
double d2zpdnp2¶
Main functions
-
inline virtual void solve_fugacity(double nn, double np, double lam_n, double lam_p, double b_n, double b_pn, double &zn, double &zp)¶
Solve for the fugacity given the density.
-
inline virtual void calc_deriv(double nn, double np, double lam_n, double lam_p, double b_n, double b_pn, double zn, double zp, double dbndT, double dbpndT, double dlamndT, double dlampdT)¶
Compute the derivatives given the densities and the fugacities (i.e. after a call to solve_fugacity())
Protected Attributes
-
o2scl::poly_real_coeff_gsl quart¶
-
std::complex<double> res[4]¶
Storage for the four roots.
-
double dzndnn¶