![]() |
Thermal-FIST 1.5
Package for hadron resonance gas model applications
|
Implementation of a mean field model with components. More...
#include <MeanFieldModelsMulti.h>
Public Member Functions | |
| MeanFieldModelComponents (int components, const std::vector< MeanFieldModelBase * > &mfmods, const std::vector< int > &ind) | |
| Constructor for the MeanFieldModelComponents class. | |
| virtual | ~MeanFieldModelComponents () |
| Destructor for the MeanFieldModelComponents class. | |
| virtual double | v () const |
| Calculates the mean field value. | |
| virtual double | dv (int i) const |
| Calculates the first derivative of the mean field. | |
| virtual double | d2v (int i, int j) const |
| Calculates the second derivative of the mean field. | |
| virtual double | d3v (int i, int j, int k) const |
| Calculates the third derivative of the mean field. | |
| virtual double | d4v (int i, int j, int k, int l) const |
| Calculates the fourth derivative of the mean field. | |
| virtual double | dvdT () const |
| Calculates the temperature derivative of the mean field. | |
Public Member Functions inherited from thermalfist::MeanFieldModelMultiBase | |
| MeanFieldModelMultiBase (int N) | |
| Constructor for the MeanFieldModelMultiBase class. | |
| virtual | ~MeanFieldModelMultiBase () |
| Destructor for the MeanFieldModelMultiBase class. | |
| 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 mean field parameters. | |
Protected Attributes | |
| std::vector< MeanFieldModelBase * > | m_mfmodels |
Protected Attributes inherited from thermalfist::MeanFieldModelMultiBase | |
| int | m_N |
| std::vector< double > | m_densities |
| std::vector< int > | m_components |
| std::vector< int > | m_componentsFrom |
| int | m_componentsNumber |
| std::vector< double > | m_densities_components |
Implementation of a mean field model with components.
This class implements a mean field model where particles are grouped into components with similar mean field properties.
Definition at line 245 of file MeanFieldModelsMulti.h.
|
inline |
Constructor for the MeanFieldModelComponents class.
| components | Number of components. |
| mfmods | Vector of mean field models for each component. |
| ind | Vector of component indices for each particle species. |
Definition at line 255 of file MeanFieldModelsMulti.h.
|
virtual |
Destructor for the MeanFieldModelComponents class.
Definition at line 84 of file MeanFieldModelsMulti.cpp.
|
protectedvirtual |
Computes the components based on the mean field parameters.
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 160 of file MeanFieldModelsMulti.cpp.
|
virtual |
Calculates the second derivative of the mean field.
| i | First species index. |
| j | Second species index. |
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 109 of file MeanFieldModelsMulti.cpp.
|
virtual |
Calculates the third derivative of the mean field.
| i | First species index. |
| j | Second species index. |
| k | Third species index. |
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 119 of file MeanFieldModelsMulti.cpp.
|
virtual |
Calculates the fourth derivative of the mean field.
| i | First species index. |
| j | Second species index. |
| k | Third species index. |
| l | Fourth species index. |
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 130 of file MeanFieldModelsMulti.cpp.
|
virtual |
Calculates the first derivative of the mean field.
| i | Species index. |
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 103 of file MeanFieldModelsMulti.cpp.
|
virtual |
Calculates the temperature derivative of the mean field.
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 142 of file MeanFieldModelsMulti.cpp.
|
virtual |
Calculates the mean field value.
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 94 of file MeanFieldModelsMulti.cpp.
|
protected |
Definition at line 331 of file MeanFieldModelsMulti.h.