23 #ifndef O2SCL_PART_DERIV_H 24 #define O2SCL_PART_DERIV_H 34 #include <o2scl/part.h> 35 #include <o2scl/fermion.h> 37 #ifndef DOXYGEN_NO_O2NS 247 double prec,
bool inc_antip=
false);
249 #ifdef O2SCL_NEVER_DEFINED 261 double heat_cap_ppart_const_vol(
part_deriv &p,
double temper) {
268 double heat_cap_ppart_const_press(
part_deriv &p,
double temper) {
275 double compress_adiabatic(
part_deriv &p,
double temper) {
280 double compress_const_tptr(
part_deriv &p,
double temper) {
285 double coeff_thermal_exp(
part_deriv &p,
double temper) {
293 #ifndef DOXYGEN_NO_O2NS double dsdT
Derivative of entropy density with respect to temperature.
double nu
Effective chemical potential.
double dndT
Derivative of number density with respect to temperature.
A particle data class with derivatives.
double dndmu
Derivative of number density with respect to chemical potential.
part_deriv & operator=(const part_deriv &p)
Copy construction with operator=()
A fermion with derivative information.
double en
Entropy density.
Compute properties of a fermion including derivatives [abstract base].
fermion_deriv(double mass=0.0, double dof=0.0)
Make a particle of mass mass and degeneracy dof.
double mu
Chemical potential.
part_deriv(const part_deriv &p)
Copy constructor.
double ms
Effective mass (Dirac unless otherwise specified)
fermion_deriv & operator=(const fermion_deriv &p)
Copy construction with operator=()
bool non_interacting
True if the particle is non-interacting (default true)
fermion_deriv(const fermion_deriv &p)
Copy constructor.
part_deriv(double mass=0.0, double dof=0.0)
Make a particle of mass mass and degeneracy dof.
bool inc_rest_mass
If true, include the mass in the energy density and chemical potential (default true) ...
double g
Degeneracy (e.g. spin and color if applicable)