![]() |
Thermal-FIST 1.5
Package for hadron resonance gas model applications
|
Implementation of a crossterms generalized excluded volume model. More...
#include <ExcludedVolumeModelsMulti.h>
Public Member Functions | |
| ExcludedVolumeModelCrosstermsGeneralized (ExcludedVolumeModelBase *evmodelsingle, const std::vector< std::vector< double > > &b, const std::vector< std::vector< double > > &dbdT=std::vector< std::vector< double > >()) | |
| Constructor for the ExcludedVolumeModelCrosstermsGeneralized class. | |
| virtual | ~ExcludedVolumeModelCrosstermsGeneralized () |
| Destructor for the ExcludedVolumeModelCrosstermsGeneralized 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. | |
Public Member Functions inherited from thermalfist::ExcludedVolumeModelMultiBase | |
| 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 (int i, const std::vector< double > &n) const |
| Calculates the eta parameter for the given densities and species index. | |
Protected Attributes | |
| ExcludedVolumeModelBase * | m_evmodelsingle |
| std::vector< std::vector< double > > | m_b |
| std::vector< std::vector< double > > | m_dbdT |
| std::vector< double > | m_etas |
| bool | m_componentsDisconnected |
Protected Attributes inherited from thermalfist::ExcludedVolumeModelMultiBase | |
| int | m_N |
| std::vector< double > | m_densities |
| std::vector< int > | m_components |
| std::vector< int > | m_componentsFrom |
| int | m_componentsNumber |
Implementation of a crossterms generalized excluded volume model.
This class implements a crossterms generalized excluded volume model, where the excluded volume effects between different particle species are described by a general model specified by the ExcludedVolumeModelBase object. The object pointed by ExcludedVolumeModelBase will be deleted on destruction.
Definition at line 527 of file ExcludedVolumeModelsMulti.h.
|
inline |
Constructor for the ExcludedVolumeModelCrosstermsGeneralized class.
| evmodelsingle | Pointer to the excluded volume model for a single component. |
| b | Matrix of excluded volumes between species. |
| dbdT | Matrix of temperature derivatives of excluded volumes (optional). |
Definition at line 537 of file ExcludedVolumeModelsMulti.h.
|
virtual |
Destructor for the ExcludedVolumeModelCrosstermsGeneralized class.
Definition at line 377 of file ExcludedVolumeModelsMulti.cpp.
|
protectedvirtual |
Computes the components based on the excluded volume parameters.
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 330 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 397 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 403 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 409 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 391 of file ExcludedVolumeModelsMulti.cpp.
|
virtual |
Calculates the temperature derivative of the suppression factor.
| i | Species index. |
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 415 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 385 of file ExcludedVolumeModelsMulti.cpp.
|
protected |
Calculates the eta parameter for the given densities and species index.
| i | Species index. |
| n | Vector of densities. |
Definition at line 368 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 425 of file ExcludedVolumeModelsMulti.cpp.
|
virtual |
Sets the densities of particle species.
| n | Vector of densities. |
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 319 of file ExcludedVolumeModelsMulti.cpp.
|
protected |
Definition at line 631 of file ExcludedVolumeModelsMulti.h.
|
protected |
Definition at line 634 of file ExcludedVolumeModelsMulti.h.
|
protected |
Definition at line 632 of file ExcludedVolumeModelsMulti.h.
|
protected |
Definition at line 633 of file ExcludedVolumeModelsMulti.h.
|
protected |
Definition at line 630 of file ExcludedVolumeModelsMulti.h.