Go to the documentation of this file.
23 #ifndef O2SCL_BOSON_EFF_H
24 #define O2SCL_BOSON_EFF_H
35 #include <boost/numeric/ublas/vector.hpp>
36 #include <boost/numeric/ublas/matrix.hpp>
38 #include <o2scl/constants.h>
39 #include <o2scl/funct.h>
40 #include <o2scl/mm_funct.h>
41 #include <o2scl/root.h>
42 #include <o2scl/mroot.h>
43 #include <o2scl/inte.h>
44 #include <o2scl/root_cern.h>
45 #include <o2scl/mroot_hybrids.h>
47 #include <o2scl/boson.h>
49 #ifndef DOXYGEN_NO_O2NS
159 virtual const char *
type() {
return "boson_eff"; }
161 #ifndef DOXYGEN_INTERNAL
196 #ifndef DOXYGEN_NO_O2NS
int load_coefficients(int ctype)
Load coefficients for finite-temperature approximation.
virtual void pair_mu(boson &b, double temper)
Calculate thermodynamic properties with antiparticles as function of chemical potential.
int pair_density_fun(size_t nv, const ubvector &x, ubvector &y, boson &b, double T)
Fix density for pair_density()
static const int cf_bosejel34
A set of coefficients from Johns96 (default)
root * psi_root
The solver to compute from .
static const int cf_bosejel22
A set of coefficients from Johns96.
boson_eff()
Create a boson with mass m and degeneracy g.
int sizen
The number of coefficient columns.
virtual void calc_density(boson &b, double temper)
Calculate thermodynamic properties as function of density.
double solve_fun(double x, double psi)
The function which solves for from .
root_cern def_psi_root
The default solver for .
void set_density_mroot(mroot<> &rp)
Set the solver for use in calculating the chemical potential from the density.
virtual const char * type()
Return string denoting type ("boson_eff")
Compute the thermodynamic properties of a boson [abstract base].
int sizem
The number of coefficient rows.
ubmatrix Pmnb
The coefficients.
double parma
The parameter, .
virtual void calc_mu(boson &b, double temper)
Calculate thermodynamic properties as function of chemical potential.
mroot_hybrids def_density_mroot
The default solver for calc_density() and pair_density()
virtual void pair_density(boson &b, double temper)
Calculate thermodynamic properties with antiparticles as function of density.
int density_fun(size_t nv, const ubvector &x, ubvector &y, boson &b, double T)
Fix density for calc_density()
static const int cf_bosejel34cons
The set of coefficients from Johns96 which retains better thermodynamic consistency.
Boson class from fitting method.
mroot * density_mroot
The solver for calc_density()
static const int cf_bosejel21
A set of coefficients from Johns96.
void set_psi_root(root<> &rp)
Set the solver for use in calculating .
double fix_density
Temporary storage.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).