#include <eff_boson.h>
The constructor loads the coefficients from the file boselat3
by default. If this is not successful, then is_loaded() will return false.
Definition at line 59 of file eff_boson.h.
Public Member Functions | |
eff_boson (double m=0.0, double g=0.0) | |
Create a boson with mass m and degeneracy g . | |
virtual int | calc_mu (const double temper) |
Calculate properties as function of chemical potential. | |
virtual int | calc_density (const double temper) |
Calculate properties as function of density. | |
virtual int | pair_mu (const double temper) |
Calculate properties with antiparticles as function of chemical potential. | |
virtual int | pair_density (const double temper) |
Calculate properties with antiparticles as function of density. | |
int | set_psi_root (root< void *, funct< void * > > &rp) |
Set the solver for use in calculating ![]() | |
int | set_density_mroot (mroot< void *, mm_funct< void * > > &rp) |
Set the solver for use in calculating the chemical potential from the density. | |
int | set_meth2_root (root< void *, funct< void * > > &rp) |
Set the solver for use in calculating the chemical potential from the density (meth2=true). | |
virtual const char * | type () |
Return string denoting type ("boson"). | |
Static Public Member Functions | |
static int | loadcoeff (std::string bfile) |
Load coefficients for finite-temperature approximation. | |
Data Fields | |
gsl_mroot_hybrids< void *, mm_funct< void * > > | def_density_mroot |
The default solver for calc_density() and pair_density(). | |
cern_mroot_root< void *, funct < void * > > | def_psi_root |
The default solver for ![]() | |
cern_mroot_root< void *, funct < void * > > | def_meth2_root |
The default solver for calc_density() and pair_density(). | |
Protected Member Functions | |
int | solve_fun (double x, double &y, void *&pa) |
The function which solves for ![]() ![]() | |
int | density_fun (size_t nv, const ovector_view &x, ovector_view &y, void *&pa) |
Fix density for calc_density(). | |
int | pair_density_fun (size_t nv, const ovector_view &x, ovector_view &y, void *&pa) |
Fix density for pair_density(). | |
Protected Attributes | |
mroot< void *, mm_funct< void * > > * | density_mroot |
The solver for calc_density(). | |
root< void *, funct< void * > > * | psi_root |
The solver to compute ![]() ![]() | |
root< void *, funct< void * > > * | meth2_root |
The solver for calc_density(). | |
Static Protected Attributes | |
static double ** | Pmnb |
The coefficients. | |
static int | sizem |
The number of coefficient rows. | |
static int | sizen |
The number of coefficient columns. | |
static double | parma |
The parameter, ![]() | |
static double | fix_density |
Temporary storage. | |
static double | stat_temper |
Temporary storage. | |
static bool | loaded |
True if coefficients have been loaded. |
static int loadcoeff | ( | std::string | bfile | ) | [static] |
Load coefficients for finite-temperature approximation.
Presently acceptable values of fn
are: boselat3
from Lattimer's notes bosejel21
, bosejel22
, bosejel34
, and bosejel34cons
from Johns96.
boselat3
double a 1.038
double[][] Pmn 4 4
1.68123 5.17553 5.66067 2.16447
6.72492 20.70212 22.64268 8.65788
8.51035 27.1555 30.5655 11.8288
3.47086 11.7253 13.8574 5.53865
double a 0.978
double[][] Pmn 3 2
1.63146 2.11571
4.89438 6.34713
3.31275 5.15372
double a 0.914
double[][] Pmn 3 3
1.68131 3.47558 2.16582
5.04393 10.42674 6.49746
3.25053 7.82859 5.19126
double a 1.029
double[][] Pmn 4 5
1.68134 6.85070 10.8537 7.81843 2.16461
6.72536 27.4028 43.4148 31.2737 8.65844
8.49651 35.6058 57.7134 42.3593 11.8199
3.45614 15.1152 25.5254 19.2745 5.51757
double a 1.040
double[][] Pmn 4 5
1.68130 6.85060 10.8539 7.81762 2.16465
6.72520 27.40240 43.4156 31.27048 8.65860
8.51373 35.6576 57.7975 42.4049 11.8321
3.47433 15.1995 25.6536 19.3811 5.54423
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page