![]() |
Thermal-FIST 1.5
Package for hadron resonance gas model applications
|
Implementation of a diagonal generalized excluded volume model. More...
#include <ExcludedVolumeModelsMulti.h>
Public Member Functions | |
ExcludedVolumeModelDiagonalGeneralized (ExcludedVolumeModelBase *evmodelsingle, const std::vector< double > &b, const std::vector< double > &dbdT=std::vector< double >()) | |
Constructor for the ExcludedVolumeModelDiagonalGeneralized class. | |
virtual | ~ExcludedVolumeModelDiagonalGeneralized () |
Destructor for the ExcludedVolumeModelDiagonalGeneralized class. | |
virtual double | f (int i) const |
Calculates the suppression factor for species i. | |
virtual double | df (int i, int j) const |
Calculates the first derivative of the suppression factor. | |
virtual double | d2f (int i, int j, int k) const |
Calculates the second derivative of the suppression factor. | |
virtual double | d3f (int i, int j, int k, int l) const |
Calculates the third derivative of the suppression factor. | |
virtual double | d4f (int i, int j, int k, int l, int m) const |
Calculates the fourth derivative of the suppression factor. | |
virtual double | dfdT (int i) const |
Calculates the temperature derivative of the suppression factor. | |
virtual std::vector< double > | nsol (const std::vector< double > &nid) |
Solves for the actual densities given the ideal gas densities. | |
virtual void | SetDensities (const std::vector< double > &n) |
Sets the densities of particle species. | |
![]() | |
ExcludedVolumeModelMultiBase (int N) | |
Constructor for the ExcludedVolumeModelMultiBase class. | |
virtual | ~ExcludedVolumeModelMultiBase () |
virtual std::vector< double > | nsolBroyden (const std::vector< double > &ntil) |
Solves for the actual densities using Broyden's method. | |
virtual std::vector< double > | nsolBroydenComponents (const std::vector< double > &ntil) |
Solves for the actual densities using Broyden's method, considering components. | |
virtual const std::vector< int > & | ComponentIndices () const |
Gets the component indices. | |
virtual const std::vector< int > & | ComponentIndicesFrom () const |
Gets the component indices from. | |
virtual const int | ComponentsNumber () const |
Gets the number of components. | |
Protected Member Functions | |
virtual void | ComputeComponents () |
Computes the components based on the excluded volume parameters. | |
double | GetEta (const std::vector< double > &n) const |
Calculates the eta parameter for the given densities. | |
Protected Attributes | |
ExcludedVolumeModelBase * | m_evmodelsingle |
std::vector< double > | m_b |
std::vector< double > | m_dbdT |
double | m_eta |
![]() | |
int | m_N |
std::vector< double > | m_densities |
std::vector< int > | m_components |
std::vector< int > | m_componentsFrom |
int | m_componentsNumber |
Implementation of a diagonal generalized excluded volume model.
This class implements a diagonal generalized excluded volume model.
Definition at line 323 of file ExcludedVolumeModelsMulti.h.
|
inline |
Constructor for the ExcludedVolumeModelDiagonalGeneralized class.
evmodelsingle | Pointer to the excluded volume model for a single component. |
b | Vector of excluded volumes for each species. |
dbdT | Vector of temperature derivatives of excluded volumes (optional). |
Definition at line 333 of file ExcludedVolumeModelsMulti.h.
|
virtual |
Destructor for the ExcludedVolumeModelDiagonalGeneralized class.
Definition at line 130 of file ExcludedVolumeModelsMulti.cpp.
|
protectedvirtual |
Computes the components based on the excluded volume parameters.
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 189 of file ExcludedVolumeModelsMulti.cpp.
|
virtual |
Calculates the second derivative of the suppression factor.
i | First species index. |
j | Second species index. |
k | Third species index. |
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 148 of file ExcludedVolumeModelsMulti.cpp.
|
virtual |
Calculates the third derivative of the suppression factor.
i | First species index. |
j | Second species index. |
k | Third species index. |
l | Fourth species index. |
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 153 of file ExcludedVolumeModelsMulti.cpp.
|
virtual |
Calculates the fourth derivative of the suppression factor.
i | First species index. |
j | Second species index. |
k | Third species index. |
l | Fourth species index. |
m | Fifth species index. |
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 158 of file ExcludedVolumeModelsMulti.cpp.
|
virtual |
Calculates the first derivative of the suppression factor.
i | First species index. |
j | Second species index. |
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 143 of file ExcludedVolumeModelsMulti.cpp.
|
virtual |
Calculates the temperature derivative of the suppression factor.
i | Species index. |
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 163 of file ExcludedVolumeModelsMulti.cpp.
|
virtual |
Calculates the suppression factor for species i.
i | Index of the particle species. |
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 138 of file ExcludedVolumeModelsMulti.cpp.
|
protected |
Calculates the eta parameter for the given densities.
n | Vector of densities. |
Definition at line 206 of file ExcludedVolumeModelsMulti.cpp.
|
virtual |
Solves for the actual densities given the ideal gas densities.
nid | Vector of ideal gas densities. |
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 172 of file ExcludedVolumeModelsMulti.cpp.
|
virtual |
Sets the densities of particle species.
n | Vector of densities. |
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 183 of file ExcludedVolumeModelsMulti.cpp.
|
protected |
Definition at line 424 of file ExcludedVolumeModelsMulti.h.
|
protected |
Definition at line 425 of file ExcludedVolumeModelsMulti.h.
|
protected |
Definition at line 426 of file ExcludedVolumeModelsMulti.h.
|
protected |
Definition at line 423 of file ExcludedVolumeModelsMulti.h.