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

Classical particle class. More...

#include <classical.h>

Detailed Description

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

Note
Note that it makes no sense to include $ T=0 $ functions here

Definition at line 51 of file classical.h.

Public Member Functions

 classical_thermo_tl ()
 Create a classical particle with mass m
and degeneracy g. More...
 
virtual void calc_mu (part_tl< fp_t > &p, fp_t temper)
 Calculate properties as function of chemical potential. More...
 
virtual void calc_density (part_tl< fp_t > &p, fp_t temper)
 Calculate properties as function of density. More...
 
virtual const char * type ()
 Return string denoting type ("classical_thermo")
 

Protected Attributes

fp_t pi
 Desc.
 

Constructor & Destructor Documentation

◆ classical_thermo_tl()

template<class fp_t = double>
o2scl::classical_thermo_tl< fp_t >::classical_thermo_tl ( )
inline
Note
This class attempts to handle zero temperature limit somewhat gracefully, even though the classical limit doesn't necessarily make physical sense there.

Definition at line 67 of file classical.h.

Member Function Documentation

◆ calc_density()

template<class fp_t = double>
virtual void o2scl::classical_thermo_tl< fp_t >::calc_density ( part_tl< fp_t > &  p,
fp_t  temper 
)
inlinevirtual

If the density or the temperature is less than zero, the error handler will be called. In the case of zero density, the chemical potential is set to the mass and the energy density, pressure, and entropy are set to zero.

Definition at line 130 of file classical.h.

◆ calc_mu()

template<class fp_t = double>
virtual void o2scl::classical_thermo_tl< fp_t >::calc_mu ( part_tl< fp_t > &  p,
fp_t  temper 
)
inlinevirtual

If the temperature is less than zero, the error handler will be called.

Definition at line 79 of file classical.h.


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).