8#ifndef IDEALGASFUNCTIONS_H
9#define IDEALGASFUNCTIONS_H
54 double in_degSpin = 1.,
79 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
91 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
103 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
115 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
127 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
140 double BoltzmannTdndmu(
int N,
double T,
double mu,
double m,
double deg,
141 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
156 double BoltzmannChiN(
int N,
double T,
double mu,
double m,
double deg,
157 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
173 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
186 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
198 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
210 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
222 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
234 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
246 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
260 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
276 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
292 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
306 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
318 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
330 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
342 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
354 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
366 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
378 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
381 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
383 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
385 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
387 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
403 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
419 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
430 double psi(
double x);
440 double psi2(
double x);
453 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
466 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
479 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
492 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
505 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
509 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
512 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
514 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
516 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
518 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
535 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
552 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
564 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
575 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
586 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
597 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
618 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
621 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
624 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
628 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
630 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
632 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
634 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
649 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
665 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
684 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
696 double BoltzmanndndT(
double T,
double mu,
double m,
double deg,
697 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
709 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
720 double BoltzmanndedT(
double T,
double mu,
double m,
double deg,
721 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
733 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
745 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
756 double BoltzmanndsdT(
double T,
double mu,
double m,
double deg,
757 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
770 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
782 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
794 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
806 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
818 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
830 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
843 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
855 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
867 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
879 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
891 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
903 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
915 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
927 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
939 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
951 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
963 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
976 const IdealGasFunctionsExtraConfig& extraConfig = IdealGasFunctionsExtraConfig());
virtual double Quantity(IdealGasFunctions::Quantity quantity, double T, double mu)=0
virtual ~GeneralizedDensity()
virtual double EffectiveMass() const
virtual bool IsBECPhase() const
virtual double BECFraction() const
Contains implementation of the thermodynamic functions corresponding to an ideal gas of particles in ...
double FermiNumericalIntegrationLargeMuChiNDimensionfull(int N, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the n-th order dimensionfull susceptibility for a Fermi-Dirac ideal gas at mu > m.
double FermiNumericalIntegrationLargeMudndT(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of particle number density wrt T at constant mu for a Maxwell-Boltzmann gas.
double FermiNumericalIntegrationLargeMud2ndT2(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the second derivative of particle number density wrt T at constant mu for a Maxwell-Boltzman...
double FermiZeroTChiN(int N, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the n-th order susceptibility for a Fermi-Dirac ideal gas at zero temperature.
double FermiNumericalIntegrationLargeMuScalarDensity(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the scalar density of a Fermi-Dirac ideal gas at mu > m.
double BoltzmanndsdT(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of entropy density wrt T at constant mu for a Maxwell-Boltzmann gas.
double FermiZeroTdn3dmu3(double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double FermiNumericalIntegrationLargeMuDensity(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the particle number density of a Fermi-Dirac ideal gas at mu > m.
double QuantumClusterExpansionEntropyDensity(int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the entropy density of a quantum ideal gas using cluster expansion.
double QuantumClusterExpansiondedT(int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of energy density wrt T at constant mu for a Maxwell-Boltzmann gas.
double FermiNumericalIntegrationLargeMuPressure(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the pressure of a Fermi-Dirac ideal gas at mu > m.
double BoltzmannTdndmu(int N, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the chemical potential derivative of density for a Maxwell-Boltzmann gas.
double QuantumNumericalIntegrationMagnetization(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the magnetization of a quantum ideal gas using 32-point Gauss-Laguerre quadratures.
double FermiZeroTdn2dmu2(double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double QuantumClusterExpansionMagnetization(int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the thermal part of the magnetization of a Maxwell-Boltzmann gas, m_B = dP/dB.
double QuantumNumericalIntegrationChiN(int N, int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the n-th order dimensionless susceptibility for a quantum ideal gas using 32-point Gauss-Lag...
double QuantumClusterExpansionChiNDimensionfull(int N, int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the n-th order dimensionfull susceptibility for a quantum ideal gas using cluster expansion.
double FermiNumericalIntegrationLargeMuTdndmu(int N, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double psi(double x)
Auxiliary function.
QStatsCalculationType
Identifies whether quantum statistics are to be computed using the cluster expansion or numerical int...
double BoltzmannDensity(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the particle number density of a Maxwell-Boltzmann gas.
double BoltzmanndedT(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of energy density wrt T at constant mu for a Maxwell-Boltzmann gas.
double QuantumNumericalIntegrationdedmu(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of energy density wrt mu at constant T for a Maxwell-Boltzmann gas.
double QuantumNumericalIntegrationdsdT(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of entropy density wrt T at constant mu using numerical integration.
double BoltzmannChiNDimensionfull(int N, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the n-th order dimensionfull susceptibility for a Maxwell-Boltzmann gas.
double FermiZeroTEntropyDensity(double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the entropy density of a Fermi-Dirac ideal gas at zero temperature.
double FermiNumericalIntegrationLargeMudedmu(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of energy density wrt mu at constant T for a Maxwell-Boltzmann gas.
double FermiNumericalIntegrationLargeMuT3dn3dmu3(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double IdealGasQuantity(Quantity quantity, QStatsCalculationType calctype, int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Calculation of a generic ideal gas function.
double QuantumClusterExpansionScalarDensity(int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the scalar density of a quantum ideal gas using cluster expansion.
double FermiZeroTdsdT(double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the scalar density of a Fermi-Dirac ideal gas at zero temperature.
bool calculationHadBECIssue
Whether \mu > m Bose-Einstein condensation issue was encountered for a Bose gas.
double BoltzmannEntropyDensity(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the entropy density of a Maxwell-Boltzmann gas.
double QuantumNumericalIntegrationdndT(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of particle number density wrt T at constant mu for a Maxwell-Boltzmann gas.
double QuantumNumericalIntegrationScalarDensity(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the scalar density of a quantum ideal gas using 32-point Gauss-Laguerre quadratures.
double FermiNumericalIntegrationLargeMudchi2dT(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of the susceptibility wrt T at constant mu for a Maxwell-Boltzmann gas.
double FermiZeroTEnergyDensity(double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the energy density of a Fermi-Dirac ideal gas at zero temperature.
double FermiNumericalIntegrationLargeMuMagnetization(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double FermiNumericalIntegrationLargeMuChiN(int N, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the n-th order dimensionless susceptibility for a Fermi-Dirac ideal gas at mu > m.
double Boltzmanndchi2dT(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of the susceptibility wrt T at constant mu for a Maxwell-Boltzmann gas.
double QuantumNumericalIntegrationT3dn3dmu3(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double FermiNumericalIntegrationLargeMuT1dn1dmu1(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double Boltzmanndedmu(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of energy density wrt mu at constant T for a Maxwell-Boltzmann gas.
double psi2(double x)
Auxiliary function.
double QuantumClusterExpansiondedmu(int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of energy density wrt mu at constant T for a Maxwell-Boltzmann gas.
double FermiNumericalIntegrationLargeMuT2dn2dmu2(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double FermiZeroTMagnetization(double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double QuantumNumericalIntegrationdchi2dT(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of the susceptibility wrt T at constant mu for a Maxwell-Boltzmann gas.
double QuantumNumericalIntegrationTdndmu(int N, int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double FermiZeroTScalarDensity(double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double QuantumNumericalIntegrationEnergyDensity(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the energy density of a quantum ideal gas using 32-point Gauss-Laguerre quadratures.
double QuantumClusterExpansionChiN(int N, int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the n-th order dimensionless susceptibility for a quantum ideal gas using cluster expansion.
double Boltzmannd2ndT2(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the 2nd derivative of particle number density wrt T at constant mu for a Maxwell-Boltzmann g...
double FermiNumericalIntegrationLargeMudedT(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of energy density wrt T at constant mu for a Maxwell-Boltzmann gas.
double QuantumClusterExpansiond2ndT2(int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the 2nd derivative of particle number density wrt T at constant mu for a Maxwell-Boltzmann g...
double FermiNumericalIntegrationLargeMuEnergyDensity(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the energy density of a Fermi-Dirac ideal gas at mu > m.
double BoltzmannScalarDensity(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the scalar density of a Maxwell-Boltzmann gas.
double QuantumClusterExpansionDensity(int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the particle number density of a quantum ideal gas using cluster expansion.
double BoltzmannMagnetization(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the thermal part of the magnetization of a Maxwell-Boltzmann gas, m_B = dP/dB.
double BoltzmannChiN(int N, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the n-th order dimensionless susceptibility for a Maxwell-Boltzmann gas.
double QuantumNumericalIntegrationT2dn2dmu2(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double QuantumClusterExpansionEnergyDensity(int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the energy density of a quantum ideal gas using cluster expansion.
double FermiZeroTdn1dmu1(double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double FermiNumericalIntegrationLargeMudsdT(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of entropy density wrt T at constant mu using Sommerfeld-Legendre + Laguerre ...
double QuantumClusterExpansiondsdT(int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of entropy density wrt T at constant mu using the cluster expansion.
double FermiZeroTPressure(double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the pressure of a Fermi-Dirac ideal gas at zero temperature.
double BoltzmannPressure(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the pressure of a Maxwell-Boltzmann gas.
double QuantumClusterExpansionPressure(int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the pressure of a quantum ideal gas using cluster expansion.
double QuantumNumericalIntegrationEntropyDensity(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the entropy density of a quantum ideal gas using 32-point Gauss-Laguerre quadratures.
Quantity
Identifies the thermodynamic function.
double QuantumNumericalIntegrationd2ndT2(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the 2nd derivative of particle number density wrt T at constant mu for a Maxwell-Boltzmann g...
double QuantumNumericalIntegrationT1dn1dmu1(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double BoltzmanndndT(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Temperature derivatives.
double QuantumNumericalIntegrationDensity(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the particle number density of a quantum ideal gas using 32-point Gauss-Laguerre quadratures...
double QuantumClusterExpansiondndT(int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of particle number density wrt T at constant mu for a Maxwell-Boltzmann gas.
double QuantumNumericalIntegrationdedT(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of energy density wrt T at constant mu for a Maxwell-Boltzmann gas.
double FermiZeroTdndmu(int N, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
double FermiNumericalIntegrationLargeMuEntropyDensity(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the entropy density of a Fermi-Dirac ideal gas at mu > m.
double QuantumClusterExpansiondchi2dT(int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the derivative of the susceptibility wrt T at constant mu for a Maxwell-Boltzmann gas.
double QuantumNumericalIntegrationChiNDimensionfull(int N, int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the n-th order dimensionfull susceptibility for a quantum ideal gas using 32-point Gauss-Lag...
double QuantumClusterExpansionTdndmu(int N, int statistics, double T, double mu, double m, double deg, int order=1, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the chemical potential derivative of density for a quantum ideal gas using cluster expansion...
double FermiZeroTDensity(double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the particle number density of a Fermi-Dirac ideal gas at zero temperature.
double QuantumNumericalIntegrationPressure(int statistics, double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the pressure of a quantum ideal gas using 32-point Gauss-Laguerre quadratures.
double FermiZeroTChiNDimensionfull(int N, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the n-th order susceptibility scaled by T^n for a Fermi-Dirac ideal gas at zero temperature.
double BoltzmannEnergyDensity(double T, double mu, double m, double deg, const IdealGasFunctionsExtraConfig &extraConfig=IdealGasFunctionsExtraConfig())
Computes the energy density of a Maxwell-Boltzmann gas.
The main namespace where all classes and functions of the Thermal-FIST library reside.
Magnetic field configuration.
MagneticFieldConfiguration(double in_B=0., int in_lmax=100, double in_degSpin=1., double in_Q=0.)
double B
Magnetic field strength [GeV^2].
int lmax
Number of the Landau levels.
double Q
Particle's electric charge [e].
double degSpin
Particle's spin degeneracy.