#include <eff_boson.h>
Definition at line 51 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 thermodynamic properties as function of chemical potential. | |
virtual int | calc_density (const double temper) |
Calculate thermodynamic properties as function of density. | |
virtual int | pair_mu (const double temper) |
Calculate thermodynamic properties with antiparticles as function of chemical potential. | |
virtual int | pair_density (const double temper) |
Calculate thermodynamic properties with antiparticles as function of density. | |
int | set_psi_root (root< double, funct< double > > &rp) |
Set the solver for use in calculating ![]() | |
int | set_density_mroot (mroot< int, mm_funct< int > > &rp) |
Set the solver for use in calculating the chemical potential from the density. | |
int | set_meth2_root (root< int, funct< int > > &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 | load_coefficients (int ctype) |
Load coefficients for finite-temperature approximation. | |
Data Fields | |
gsl_mroot_hybrids< int,mm_funct < int > > | def_density_mroot |
The default solver for calc_density() and pair_density(). | |
cern_mroot_root< double, funct < double > > | def_psi_root |
The default solver for ![]() | |
cern_mroot_root< int,funct< int > > | 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 | |
int | solve_fun (double x, double &y, double &psi) |
The function which solves for ![]() ![]() | |
int | density_fun (size_t nv, const ovector_base &x, ovector_base &y, int &pa) |
Fix density for calc_density(). | |
int | pair_density_fun (size_t nv, const ovector_base &x, ovector_base &y, int &pa) |
Fix density for pair_density(). | |
Protected Attributes | |
mroot< int,mm_funct< int > > * | density_mroot |
The solver for calc_density(). | |
root< double, funct< double > > * | psi_root |
The solver to compute ![]() ![]() | |
root< int,funct< int > > * | 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 int load_coefficients | ( | int | ctype | ) | [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.
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