Thermal-FIST 1.5
Package for hadron resonance gas model applications
Loading...
Searching...
No Matches
thermalfist::CuteHRGHelper Namespace Reference

Contains several helper routines. More...

Functions

std::vector< std::string > split (const std::string &s, char delim)
 
void cutDecayDistributionsVector (std::vector< std::pair< double, std::vector< int > > > &vect, int maxsize=1000)
 
double vr (double r)
 Computes the excluded volume parameter from a given radius parameter value.
 
double rv (double v)
 Computes the radius parameter from a given excluded volume parameter value.
 
double brr (double r1, double r2)
 Computes the symmetric 2nd virial coefficient \( b_{ij} \) of the classical hard spheres equation of state from the two radii.
 
double btilrr (double r1, double r2)
 Computes the asymmetric 2nd virial coefficient \( \tilde b_{ij} \) of the classical hard spheres equation of state from the two radii.
 
std::vector< std::vector< double > > bijMatrix (const ThermalModelBase *model)
 Returns the matrix of excluded volume coefficients \( \tilde{b}_{ij} \) of an HRG model.
 
std::vector< std::vector< double > > aijMatrix (const ThermalModelBase *model)
 Returns the matrix of van der Waals attraction coefficients \( a_{ij} \) of an HRG model.
 
std::vector< std::string > & split (const std::string &s, char delim, std::vector< std::string > &elems)
 

Detailed Description

Contains several helper routines.

Function Documentation

◆ aijMatrix()

std::vector< std::vector< double > > thermalfist::CuteHRGHelper::aijMatrix ( const ThermalModelBase * model)

Returns the matrix of van der Waals attraction coefficients \( a_{ij} \) of an HRG model.

Definition at line 33 of file ExcludedVolumeHelper.cpp.

◆ bijMatrix()

std::vector< std::vector< double > > thermalfist::CuteHRGHelper::bijMatrix ( const ThermalModelBase * model)

Returns the matrix of excluded volume coefficients \( \tilde{b}_{ij} \) of an HRG model.

Definition at line 21 of file ExcludedVolumeHelper.cpp.

◆ brr()

double thermalfist::CuteHRGHelper::brr ( double r1,
double r2 )
inline

Computes the symmetric 2nd virial coefficient \( b_{ij} \) of the classical hard spheres equation of state from the two radii.

Parameters
r1First radius (fm)
r2Second radius (fm)
Returns
double Virial coefficient (fm \(^3\))

Definition at line 52 of file ExcludedVolumeHelper.h.

◆ btilrr()

double thermalfist::CuteHRGHelper::btilrr ( double r1,
double r2 )

Computes the asymmetric 2nd virial coefficient \( \tilde b_{ij} \) of the classical hard spheres equation of state from the two radii.

Parameters
r1First radius (fm)
r2Second radius (fm)
Returns
double Virial coefficient (fm \(^3\))

Definition at line 11 of file ExcludedVolumeHelper.cpp.

◆ cutDecayDistributionsVector()

void thermalfist::CuteHRGHelper::cutDecayDistributionsVector ( std::vector< std::pair< double, std::vector< int > > > & vect,
int maxsize = 1000 )

Definition at line 1658 of file ThermalParticleSystem.cpp.

◆ rv()

double thermalfist::CuteHRGHelper::rv ( double v)
inline

Computes the radius parameter from a given excluded volume parameter value.

Parameters
vExcluded volume parameter (fm \(^3\))
Returns
double Radius parameter (fm)

Definition at line 41 of file ExcludedVolumeHelper.h.

◆ split() [1/2]

std::vector< std::string > thermalfist::CuteHRGHelper::split ( const std::string & s,
char delim )

Definition at line 1652 of file ThermalParticleSystem.cpp.

◆ split() [2/2]

std::vector< std::string > & thermalfist::CuteHRGHelper::split ( const std::string & s,
char delim,
std::vector< std::string > & elems )

Definition at line 1643 of file ThermalParticleSystem.cpp.

◆ vr()

double thermalfist::CuteHRGHelper::vr ( double r)
inline

Computes the excluded volume parameter from a given radius parameter value.

Parameters
rRadius parameter (fm)
Returns
double Excluded volume parameter (fm \(^3\))

Definition at line 32 of file ExcludedVolumeHelper.h.