![]() |
Particles and Nuclei Sub-Library: Version 0.910
|
Boson class from fitting method. More...
#include <eff_boson.h>
Better documentation (see eff_fermion)
Remove the 'meth2' stuff
Remove static variables fix_density and stat_temper
Remove exit() calls
Definition at line 52 of file eff_boson.h.
Public Member Functions | |
eff_boson () | |
Create a boson with mass m and degeneracy g . | |
int | load_coefficients (int ctype) |
Load coefficients for finite-temperature approximation. | |
virtual void | calc_mu (boson &b, double temper) |
Calculate thermodynamic properties as function of chemical potential. | |
virtual void | calc_density (boson &b, double temper) |
Calculate thermodynamic properties as function of density. | |
virtual void | pair_mu (boson &b, double temper) |
Calculate thermodynamic properties with antiparticles as function of chemical potential. | |
virtual void | pair_density (boson &b, double temper) |
Calculate thermodynamic properties with antiparticles as function of density. | |
void | set_psi_root (root< funct > &rp) |
Set the solver for use in calculating ![]() | |
void | set_density_mroot (mroot< mm_funct<> > &rp) |
Set the solver for use in calculating the chemical potential from the density. | |
void | set_meth2_root (root< funct > &rp) |
Set the solver for use in calculating the chemical potential from the density (meth2=true) | |
virtual const char * | type () |
Data Fields | |
gsl_mroot_hybrids< mm_funct<> > | def_density_mroot |
The default solver for calc_density() and pair_density() | |
cern_mroot_root< funct > | def_psi_root |
The default solver for ![]() | |
cern_mroot_root< funct > | def_meth2_root |
The default solver for calc_density() and pair_density() | |
Static Public Attributes | |
static const int | cf_boselat3 = 1 |
A set of coefficients from Jim Lattimer. | |
static const int | cf_bosejel21 = 2 |
A set of coefficients from Johns96. | |
static const int | cf_bosejel22 = 3 |
A set of coefficients from Johns96. | |
static const int | cf_bosejel34 = 4 |
A set of coefficients from Johns96. | |
static const int | cf_bosejel34cons = 5 |
The set of coefficients from Johns96 which retains better thermodynamic consistency. | |
Protected Member Functions | |
double | solve_fun (double x, double &psi) |
The function which solves for ![]() ![]() | |
int | density_fun (size_t nv, const ovector_base &x, ovector_base &y) |
Fix density for calc_density() | |
int | pair_density_fun (size_t nv, const ovector_base &x, ovector_base &y) |
Fix density for pair_density() | |
Protected Attributes | |
umatrix | Pmnb |
The coefficients. | |
int | sizem |
The number of coefficient rows. | |
int | sizen |
The number of coefficient columns. | |
double | parma |
The parameter, ![]() | |
double | fix_density |
Temporary storage. | |
boson * | bp |
Desc. | |
double | T |
Desc. | |
mroot< mm_funct<> > * | density_mroot |
The solver for calc_density() | |
root< funct > * | psi_root |
The solver to compute ![]() ![]() | |
root< funct > * | meth2_root |
The solver for calc_density() |
int eff_boson::load_coefficients | ( | int | ctype | ) |
Presently acceptable values of fn
are: boselat3
from Lattimer's notes bosejel21
, bosejel22
, bosejel34
, and bosejel34cons
from Johns96.
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).