Version: SMASH-3.1
distributions.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013-2020,2022
3  * SMASH Team
4  *
5  * GNU General Public License (GPLv3 or later)
6  */
7 #ifndef SRC_INCLUDE_SMASH_DISTRIBUTIONS_H_
8 #define SRC_INCLUDE_SMASH_DISTRIBUTIONS_H_
9 
10 namespace smash {
11 
22 double breit_wigner(double m, double pole, double width);
23 
34 double breit_wigner_nonrel(double m, double pole, double width);
35 
50 double cauchy(double x, double pole, double width);
51 
61 double density_integrand_mass(const double energy, const double momentum_sqr,
62  const double temperature);
72 double density_integrand_1M_IC(const double energy, const double momentum_sqr,
73  const double temperature);
74 
84 double density_integrand_2M_IC(const double energy, const double momentum_sqr,
85  const double temperature);
86 
99 double juttner_distribution_func(double momentum_radial, double mass,
100  double temperature,
101  double effective_chemical_potential,
102  double statistics);
103 
115 double sample_momenta_non_eq_mass(const double temperature, const double mass);
116 
127 double sample_momenta_1M_IC(const double temperature, const double mass);
128 
139 double sample_momenta_2M_IC(const double temperature, const double mass);
140 
163 double sample_momenta_from_thermal(const double temperature, const double mass);
164 
172 double sample_momenta_IC_ES(const double temperature);
173 } // namespace smash
174 
175 #endif // SRC_INCLUDE_SMASH_DISTRIBUTIONS_H_
Definition: action.h:24
double sample_momenta_from_thermal(const double temperature, const double mass)
Samples a momentum from the Maxwell-Boltzmann (thermal) distribution in a faster way,...
double sample_momenta_IC_ES(const double temperature)
Sample momenta according to the momentum distribution in Bazow:2016oky .
double breit_wigner(double m, double pole, double width)
Returns a relativistic Breit-Wigner distribution.
double juttner_distribution_func(double momentum_radial, double mass, double temperature, double effective_chemical_potential, double statistics)
Relativistic Juttner distribution function is just a convenience wrapper for displaying Fermi,...
double sample_momenta_non_eq_mass(const double temperature, const double mass)
Samples a momentum via rejection method from the non-equilibrium distribution.
double sample_momenta_1M_IC(const double temperature, const double mass)
Samples a momentum from the non-equilibrium distribution 1M_IC from Bazow:2016oky .
double sample_momenta_2M_IC(const double temperature, const double mass)
Samples a momentum from the non-equilibrium distribution 2M_IC from Bazow:2016oky .
double density_integrand_1M_IC(const double energy, const double momentum_sqr, const double temperature)
density integrand - 1M_IC massless particles for expanding metric initialization, see Bazow:2016oky
double cauchy(double x, double pole, double width)
Returns a Cauchy distribution (sometimes also called Lorentz or non-relativistic Breit-Wigner distrib...
double density_integrand_mass(const double energy, const double momentum_sqr, const double temperature)
density_integrand_mass - off_equilibrium distribution for massive particles
double density_integrand_2M_IC(const double energy, const double momentum_sqr, const double temperature)
density integrand - 2M_IC massless particles for expanding metric initialization, see Bazow:2016oky
double breit_wigner_nonrel(double m, double pole, double width)
Returns a non-relativistic Breit-Wigner distribution, which is essentially a Cauchy distribution with...