26 #ifndef O2SCL_VIRIAL_EOS_H 27 #define O2SCL_VIRIAL_EOS_H 30 #include <o2scl/constants.h> 31 #include <o2scl/lib_settings.h> 32 #include <o2scl/interp.h> 33 #include <o2scl/boson.h> 34 #include <o2scl/eos_had_base.h> 36 #ifndef DOXYGEN_NO_O2NS 62 std::vector<double> Tv, bnv, Tbnpv, bpnv, Tbpnpv;
63 std::vector<double> banv, Tbanpv, bav, Tbapv;
65 iban, iTbanp, iba, iTbap;
97 virtual double bn(
double T);
98 virtual double ban(
double T);
99 virtual double ba(
double T);
100 virtual double bpn(
double T);
101 virtual double Tbn_prime(
double T);
102 virtual double Tban_prime(
double T);
103 virtual double Tba_prime(
double T);
104 virtual double Tbpn_prime(
double T);
130 #ifndef DOXYGEN_NO_O2NS
virtual int calc_temp_p(fermion &n, fermion &p, double T, thermo &th)
Equation of state as a function of the chemical potentials at finite temperature. ...
void fit()
Fit the virial coefficients to analytical functions.
Virial EOS for neutrons, protons, deuterons, and alpha particles.
virtual int calc_temp_p_alpha(fermion &n, fermion &p, boson &d, boson &a, double T, thermo &th)
Equation of state as a function of the chemical potentials at finite temperature with alpha particles...
A hadronic EOS at finite temperature based on a function of the chemical potentials [abstract base]...
boson deuteron
Internal deuteron.
boson alpha
Internal alpha particle.
virtual int calc_p(fermion &ne, fermion &pr, thermo &th)
Equation of state as a function of the chemical potentials.