Class eos_leptons_multip (o2scl)¶
-
class eos_leptons_multip : public o2scl::eos_leptons¶
Multiprecision version of eos_leptons.
This class provides the additional functionality on top of eos_leptons to compute the lepton and photon EOS with multiprecision.
Unit conversion objects to set the lepton masses
-
convert_units<long double> cu_ld¶
Long double precision unit conversion object.
-
convert_units<cpp_dec_float_25> cu_cdf25¶
25-digit precision unit conversion object
-
fermion_ld eld¶
Electron in long double precision.
-
fermion_cdf25 ecdf25¶
Electron in 25-digit precision.
-
fermion_ld muld¶
Muon in long double precision.
-
fermion_cdf25 mucdf25¶
Muon in 25-digit precision.
-
fermion_ld tauld¶
Tau in long double precision.
-
fermion_cdf25 taucdf25¶
Tau in 25-digit precision.
-
thermo_ld th_ld¶
Thermodynamic quantities for the full EOS (long double)
-
thermo_cdf25 th_cdf25¶
Thermodynamic quantities for the full EOS (25-digit)
-
part_deriv_press_ld thd_ld¶
Photon derivatives.
-
part_deriv_press_cdf25 thd_cdf25¶
Photon derivatives.
-
fermion_rel_ld frel_ld¶
Relativistic fermion thermodynamics in long double precision.
-
fermion_rel_cdf25 frel_cdf25¶
Relativistic fermion thermodynamics in 25 digit precision.
-
root_cern<funct_cdf25, cpp_dec_float_25> rc_cdf25¶
-
virtual int electron_density(double T)¶
Compute electron thermodynamics from the electron density.
-
virtual int electron_density_ld(long double T)¶
Compute electron thermodynamics from the electron density (long double version)
-
virtual int electron_density_cdf25(cpp_dec_float_25 T)¶
Compute electron thermodynamics from the electron density (25-digit version)
-
template<class part_t, class part_thermo_t, class fp_t>
inline int particle_density_tl(part_t &pa, part_thermo_t &pt, fp_t T)¶ Compute particle thermodynamics from the density.
-
template<class part_t, class part_thermo_t, class fp_t>
inline int pair_density_eq_fun_tl(size_t nv, const boost::numeric::ublas::vector<fp_t> &x, boost::numeric::ublas::vector<fp_t> &y, fp_t T, fp_t nq, part_t &pe, part_t &pmu, part_thermo_t &pt)¶ Template version of function to solve.
-
virtual int pair_density_eq_fun(size_t nv, const ubvector &x, ubvector &y, double T, double nq)¶
Function to solve for pair_density_eq()
-
virtual long double pair_density_eq_ld_fun(long double x, long double T, long double nq)¶
Function to solve for pair_density_eq_ld()
-
virtual cpp_dec_float_25 pair_density_eq_cdf25_fun(cpp_dec_float_25 x, cpp_dec_float_25 T, cpp_dec_float_25 nq)¶
Function to solve for pair_density_eq_cdf25()
-
eos_leptons_multip()¶
-
inline virtual ~eos_leptons_multip()¶
-
virtual int pair_density_eq(double nq, double T)¶
Thermodynamics from the charge density in weak equilibrium.
The first argument
nq
, is the total negative charge density including electrons (and muons if include_muons is true) andT
is the temperature.When include_muons is false, this function is essentially equivalent to pair_density() using
nq
for the electron density.The charge density should be in units of \( 1/\mathrm{fm}^{-3} \) and the temperature should be in units of \( 1/\mathrm{fm} \).
The current values of the electron chemical potential potentials is used as initial guess. If pde_from_density is true, then the current value of the electron density is also used as an initial guess.
-
virtual int pair_density_eq_ld(long double nq, long double T)¶
Thermodynamics from the charge density in weak equilibrium (long double version)
-
virtual int pair_density_eq_cdf25(cpp_dec_float_25 nq, cpp_dec_float_25 T)¶
Thermodynamics from the charge density in weak equilibrium (25-digit version)
Public Types
-
typedef boost::numeric::ublas::vector<long double> ubvector_ld¶
Protected Attributes
-
boson_ld ph_ld¶
Photon (long double)
-
boson_cdf25 ph_cdf25¶
Photon (25-digit version)
-
part_deriv_press_ld phd_ld¶
Photon derivatives (long double version)
-
part_deriv_press_cdf25 phd_cdf25¶
Photon derivatives (25-digit version)
-
part_deriv_press_ld mud_ld¶
Muon derivatives (long double version)
-
part_deriv_press_cdf25 mud_cdf25¶
Muon derivatives (25-digit version)
-
part_deriv_press_ld ed_ld¶
Electron derivatives (long double version)
-
part_deriv_press_cdf25 ed_cdf25¶
Electron derivatives (25-digit version)
-
fermion_deriv_rel_ld fdrel_ld¶
Relativistic fermion thermodynamics with derivatives (long double)
-
fermion_deriv_rel_cdf25 fdrel_cdf25¶
Relativistic fermion thermodynamics with derivatives (25-digit version)
-
convert_units<long double> cu_ld¶