![]() |
Thermal-FIST 1.5
Package for hadron resonance gas model applications
|
Implementation of the diagonal van der Waals excluded volume model. More...
#include <ExcludedVolumeModelsMulti.h>
Public Member Functions | |
| ExcludedVolumeModelDiagonalVDW (const std::vector< double > &b, const std::vector< double > &dbdT=std::vector< double >()) | |
| Constructor for the ExcludedVolumeModelDiagonalVDW 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. | |
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 void | SetDensities (const std::vector< double > &n) |
| Sets the densities of particle species. | |
| 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. | |
Protected Attributes | |
| std::vector< double > | m_b |
| std::vector< double > | m_dbdT |
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 the diagonal van der Waals excluded volume model.
Definition at line 235 of file ExcludedVolumeModelsMulti.h.
|
inline |
Constructor for the ExcludedVolumeModelDiagonalVDW class.
| b | Vector of excluded volumes for each species. |
| dbdT | Vector of temperature derivatives of excluded volumes (optional). |
Definition at line 244 of file ExcludedVolumeModelsMulti.h.
|
protectedvirtual |
Computes the components based on the excluded volume parameters.
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 43 of file ExcludedVolumeModelsMulti.cpp.
|
inlinevirtual |
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 273 of file ExcludedVolumeModelsMulti.h.
|
inlinevirtual |
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 283 of file ExcludedVolumeModelsMulti.h.
|
inlinevirtual |
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 294 of file ExcludedVolumeModelsMulti.h.
|
virtual |
Calculates the first derivative of the suppression factor.
| i | First species index. |
| j | Second species index. |
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 19 of file ExcludedVolumeModelsMulti.cpp.
|
virtual |
Calculates the temperature derivative of the suppression factor.
| i | Species index. |
Reimplemented from thermalfist::ExcludedVolumeModelMultiBase.
Definition at line 24 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 11 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 33 of file ExcludedVolumeModelsMulti.cpp.
|
protected |
Definition at line 314 of file ExcludedVolumeModelsMulti.h.
|
protected |
Definition at line 315 of file ExcludedVolumeModelsMulti.h.