Class boson_rel_integ (o2scl)

O2scl : Class List

template<class fp_t>
class boson_rel_integ

Class defining integrands for relativistic bosons.

Public Functions

inline boson_rel_integ()
template<class internal_fp_t>
inline internal_fp_t density_fun(internal_fp_t u, fp_t &y2, fp_t &eta2)

The integrand for the density for non-degenerate bosons.

template<class internal_fp_t>
inline internal_fp_t energy_fun(internal_fp_t u, fp_t &y2, fp_t &eta2)

Non-degenerate energy integral.

template<class internal_fp_t>
inline internal_fp_t entropy_fun(internal_fp_t u, fp_t &y2, fp_t &eta2)

Non-degenerate entropy integral.

template<class internal_fp_t>
inline internal_fp_t pressure_fun(internal_fp_t u, fp_t y2, fp_t eta2)

The integrand for the pressure for non-degenerate fermions.

template<class internal_fp_t>
inline internal_fp_t deg_density_fun(internal_fp_t k, fp_t T2, fp_t y2, fp_t eta2, fp_t mot2, bool debug)

Degenerate density integral.

template<class internal_fp_t>
inline internal_fp_t deg_energy_fun(internal_fp_t k, fp_t T2, fp_t y2, fp_t eta2, fp_t mot2, bool debug)

Degenerate energy integral.

template<class internal_fp_t>
inline internal_fp_t deg_entropy_fun(internal_fp_t k, fp_t T2, fp_t y2, fp_t eta2, fp_t mot2, bool debug)

Degenerate entropy integral.

Public Members

double deg_entropy_fac

A factor for the degenerate entropy integration (default 30.0)

double exp_limit

The limit for exponentials to ensure integrals are finite (default 200.0)

bool err_nonconv

If true, call the error handler when convergence fails (default true)