Thermal-FIST  1.3
Package for hadron resonance gas model applications
Namespaces | Functions | Variables
IdealGasFunctions.cpp File Reference
#include "HRGBase/IdealGasFunctions.h"
#include <stdio.h>
#include <cmath>
#include <sstream>
#include <stdexcept>
#include <cfloat>
#include <vector>
#include "HRGBase/xMath.h"
#include "HRGBase/NumericalIntegration.h"

Go to the source code of this file.

Namespaces

 thermalfist
 The main namespace where all classes and functions of the Thermal-FIST library reside.
 
 thermalfist::IdealGasFunctions
 Contains implementation of the thermodynamic functions corresponding to an ideal gas of particles in the grand-canonical ensemble.
 

Functions

double thermalfist::IdealGasFunctions::BoltzmannDensity (double T, double mu, double m, double deg)
 Computes the particle number density of a Maxwell-Boltzmann gas. More...
 
double thermalfist::IdealGasFunctions::BoltzmannPressure (double T, double mu, double m, double deg)
 Computes the pressure of a Maxwell-Boltzmann gas. More...
 
double thermalfist::IdealGasFunctions::BoltzmannEnergyDensity (double T, double mu, double m, double deg)
 Computes the energy density of a Maxwell-Boltzmann gas. More...
 
double thermalfist::IdealGasFunctions::BoltzmannEntropyDensity (double T, double mu, double m, double deg)
 Computes the entropy density of a Maxwell-Boltzmann gas. More...
 
double thermalfist::IdealGasFunctions::BoltzmannScalarDensity (double T, double mu, double m, double deg)
 Computes the scalar density of a Maxwell-Boltzmann gas. More...
 
double thermalfist::IdealGasFunctions::BoltzmannTdndmu (int N, double T, double mu, double m, double deg)
 Computes the chemical potential derivative of density for a Maxwell-Boltzmann gas. More...
 
double thermalfist::IdealGasFunctions::BoltzmannChiN (int N, double T, double mu, double m, double deg)
 Computes the n-th order susceptibility for a Maxwell-Boltzmann gas. More...
 
double thermalfist::IdealGasFunctions::QuantumClusterExpansionDensity (int statistics, double T, double mu, double m, double deg, int order=1)
 Computes the particle number density of a quantum ideal gas using cluster expansion. More...
 
double thermalfist::IdealGasFunctions::QuantumClusterExpansionPressure (int statistics, double T, double mu, double m, double deg, int order=1)
 Computes the pressure of a quantum ideal gas using cluster expansion. More...
 
double thermalfist::IdealGasFunctions::QuantumClusterExpansionEnergyDensity (int statistics, double T, double mu, double m, double deg, int order=1)
 Computes the energy density of a quantum ideal gas using cluster expansion. More...
 
double thermalfist::IdealGasFunctions::QuantumClusterExpansionEntropyDensity (int statistics, double T, double mu, double m, double deg, int order=1)
 Computes the entropy density of a quantum ideal gas using cluster expansion. More...
 
double thermalfist::IdealGasFunctions::QuantumClusterExpansionScalarDensity (int statistics, double T, double mu, double m, double deg, int order=1)
 Computes the scalar density of a quantum ideal gas using cluster expansion. More...
 
double thermalfist::IdealGasFunctions::QuantumClusterExpansionTdndmu (int N, int statistics, double T, double mu, double m, double deg, int order=1)
 Computes the chemical potential derivative of density for a quantum ideal gas using cluster expansion. More...
 
double thermalfist::IdealGasFunctions::QuantumClusterExpansionChiN (int N, int statistics, double T, double mu, double m, double deg, int order=1)
 Computes the n-th order susceptibility for a quantum ideal gas using cluster expansion. More...
 
double thermalfist::IdealGasFunctions::QuantumNumericalIntegrationDensity (int statistics, double T, double mu, double m, double deg)
 Computes the particle number density of a quantum ideal gas using 32-point Gauss-Laguerre quadratures. More...
 
double thermalfist::IdealGasFunctions::QuantumNumericalIntegrationPressure (int statistics, double T, double mu, double m, double deg)
 Computes the pressure of a quantum ideal gas using 32-point Gauss-Laguerre quadratures. More...
 
double thermalfist::IdealGasFunctions::QuantumNumericalIntegrationEnergyDensity (int statistics, double T, double mu, double m, double deg)
 Computes the energy density of a quantum ideal gas using 32-point Gauss-Laguerre quadratures. More...
 
double thermalfist::IdealGasFunctions::QuantumNumericalIntegrationEntropyDensity (int statistics, double T, double mu, double m, double deg)
 Computes the entropy density of a quantum ideal gas using 32-point Gauss-Laguerre quadratures. More...
 
double thermalfist::IdealGasFunctions::QuantumNumericalIntegrationScalarDensity (int statistics, double T, double mu, double m, double deg)
 Computes the scalar density of a quantum ideal gas using 32-point Gauss-Laguerre quadratures. More...
 
double thermalfist::IdealGasFunctions::QuantumNumericalIntegrationT1dn1dmu1 (int statistics, double T, double mu, double m, double deg)
 
double thermalfist::IdealGasFunctions::QuantumNumericalIntegrationT2dn2dmu2 (int statistics, double T, double mu, double m, double deg)
 
double thermalfist::IdealGasFunctions::QuantumNumericalIntegrationT3dn3dmu3 (int statistics, double T, double mu, double m, double deg)
 
double thermalfist::IdealGasFunctions::QuantumNumericalIntegrationTdndmu (int N, int statistics, double T, double mu, double m, double deg)
 
double thermalfist::IdealGasFunctions::QuantumNumericalIntegrationChiN (int N, int statistics, double T, double mu, double m, double deg)
 Computes the n-th order susceptibility for a quantum ideal gas using 32-point Gauss-Laguerre quadratures. More...
 
double thermalfist::IdealGasFunctions::psi (double x)
 Auxiliary function. More...
 
double thermalfist::IdealGasFunctions::psi2 (double x)
 Auxiliary function. More...
 
double thermalfist::IdealGasFunctions::FermiNumericalIntegrationLargeMuDensity (double T, double mu, double m, double deg)
 Computes the particle number density of a Fermi-Dirac ideal gas at mu > m. More...
 
double thermalfist::IdealGasFunctions::FermiNumericalIntegrationLargeMuPressure (double T, double mu, double m, double deg)
 Computes the pressure of a Fermi-Dirac ideal gas at mu > m. More...
 
double thermalfist::IdealGasFunctions::FermiNumericalIntegrationLargeMuEnergyDensity (double T, double mu, double m, double deg)
 Computes the energy density of a Fermi-Dirac ideal gas at mu > m. More...
 
double thermalfist::IdealGasFunctions::FermiNumericalIntegrationLargeMuEntropyDensity (double T, double mu, double m, double deg)
 Computes the entropy density of a Fermi-Dirac ideal gas at mu > m. More...
 
double thermalfist::IdealGasFunctions::FermiNumericalIntegrationLargeMuScalarDensity (double T, double mu, double m, double deg)
 Computes the scalar density of a Fermi-Dirac ideal gas at mu > m. More...
 
double thermalfist::IdealGasFunctions::FermiNumericalIntegrationLargeMuT1dn1dmu1 (double T, double mu, double m, double deg)
 
double thermalfist::IdealGasFunctions::FermiNumericalIntegrationLargeMuT2dn2dmu2 (double T, double mu, double m, double deg)
 
double thermalfist::IdealGasFunctions::FermiNumericalIntegrationLargeMuT3dn3dmu3 (double T, double mu, double m, double deg)
 
double thermalfist::IdealGasFunctions::FermiNumericalIntegrationLargeMuTdndmu (int N, double T, double mu, double m, double deg)
 
double thermalfist::IdealGasFunctions::FermiNumericalIntegrationLargeMuChiN (int N, double T, double mu, double m, double deg)
 Computes the n-th order susceptibility for a Fermi-Dirac ideal gas at mu > m. More...
 
double thermalfist::IdealGasFunctions::IdealGasQuantity (Quantity quantity, QStatsCalculationType calctype, int statistics, double T, double mu, double m, double deg, int order=1)
 Calculation of a generic ideal gas function. More...
 

Variables

const double * thermalfist::IdealGasFunctions::legx32 = NumericalIntegration::coefficients_xleg32_zeroone
 
const double * thermalfist::IdealGasFunctions::legw32 = NumericalIntegration::coefficients_wleg32_zeroone
 
const double * thermalfist::IdealGasFunctions::lagx32 = NumericalIntegration::coefficients_xlag32
 
const double * thermalfist::IdealGasFunctions::lagw32 = NumericalIntegration::coefficients_wlag32