Public Member Functions | List of all members
o2scl::classical_thermo Class Reference

Classical particle class. More...

#include <classical.h>

Detailed Description

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

Definition at line 48 of file classical.h.

Public Member Functions

 classical_thermo ()
 Create a classical particle with mass m. More...
 
virtual void calc_mu (part &p, double temper)
 Calculate properties as function of chemical potential. More...
 
virtual void calc_density (part &p, double temper)
 Calculate properties as function of density. More...
 
virtual const char * type ()
 Return string denoting type ("classical_thermo")
 

Constructor & Destructor Documentation

◆ classical_thermo()

o2scl::classical_thermo::classical_thermo ( )

and degeneracy g

Note
This class attempts to handle zero temperature limit somewhat gracefully, even though the classical limit doesn't necessarily make physical sense there.

Member Function Documentation

◆ calc_density()

virtual void o2scl::classical_thermo::calc_density ( part p,
double  temper 
)
virtual

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.

◆ calc_mu()

virtual void o2scl::classical_thermo::calc_mu ( part p,
double  temper 
)
virtual

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


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