Public Member Functions | List of all members
o2scl::part_deriv_tl< fp_t > Class Template Reference

A part with derivative information. More...

#include <part_deriv.h>

Inheritance diagram for o2scl::part_deriv_tl< fp_t >:
o2scl::part_tl< double > o2scl::part_deriv_press_tl< double >

Detailed Description

template<class fp_t = double>
class o2scl::part_deriv_tl< fp_t >

Definition at line 270 of file part_deriv.h.

Public Member Functions

 part_deriv_tl (fp_t mass=0.0, fp_t dof=0.0)
 Make a particle of mass mass and degeneracy dof.
 
 part_deriv_tl (const part_deriv_tl &p)
 Copy constructor.
 
part_deriv_tloperator= (const part_deriv_tl &p)
 Copy construction with operator=()
 
- Public Member Functions inherited from o2scl::part_tl< double >
 part_tl (const part_tl &p)
 Copy constructor.
 
 part_tl (double mass=0.0, double dof=0.0)
 Make a particle of mass mass and degeneracy dof.
 
part_tloperator= (const part_tl &p)
 Copy construction with operator=()
 
virtual void init (double mass, double dof)
 Set the mass mass and degeneracy dof.
 
virtual void anti (part_tl &ax)
 Make ap an anti-particle with the same mass and degeneracy. More...
 
virtual const char * type ()
 Return string denoting type ("part_tl")
 
- Public Member Functions inherited from o2scl::part_deriv_press_tl< double >
 part_deriv_press_tl (const part_deriv_press_tl &p)
 Copy constructor.
 
part_deriv_press_tloperator= (const part_deriv_press_tl &p)
 Copy construction with operator=()
 
void deriv_f (double &dmudn, double &dmudT, double &dsdT_n)
 Compute derivatives in the Helmholtz free energy representation from the derivatives in the pressure representation.
 

Additional Inherited Members

- Public Attributes inherited from o2scl::part_tl< double >
double g
 Degeneracy (e.g. spin and color if applicable)
 
double m
 Mass.
 
double n
 Number density.
 
double ed
 Energy density.
 
double pr
 Pressure.
 
double mu
 Chemical potential.
 
double en
 Entropy density.
 
double ms
 Effective mass (Dirac unless otherwise specified)
 
double nu
 Effective chemical potential.
 
bool inc_rest_mass
 If true, include the mass in the energy density and chemical potential (default true)
 
bool non_interacting
 True if the particle is non-interacting (default true)
 
- Public Attributes inherited from o2scl::part_deriv_press_tl< double >
double dndmu
 Derivative of number density with respect to chemical potential.
 
double dndT
 Derivative of number density with respect to temperature.
 
double dsdT
 Derivative of entropy density with respect to temperature.
 

The documentation for this class was generated from the following file:

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).