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_nun_nup(fermion &n, fermion &p, double T)¶
Compute \( \nu_n \) and \( \nu_p \).
Note
This function ignores the value of fermion_tl::non_interacting and just sets the effective mass in part_tl::ms equal to the bare mass part_tl::m .
-
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.
-
classical_thermo cl¶
Classical thermodynamics for \( \nu_n \) and \( \nu_p \).
-
double dzndnn¶