![]() |
Thermal-FIST 1.5
Package for hadron resonance gas model applications
|
Base class for multi-component mean field models. More...
#include <MeanFieldModelsMulti.h>
Public Member Functions | |
| MeanFieldModelMultiBase (int N) | |
| Constructor for the MeanFieldModelMultiBase class. | |
| virtual | ~MeanFieldModelMultiBase () |
| Destructor for the MeanFieldModelMultiBase 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. | |
| 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 | |
| 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 |
Base class for multi-component mean field models.
This class serves as the base for all multi-component mean field models, providing the interface for calculating the mean field effects in a system with multiple particle species. By default, it implements the ideal gas case with no mean field.
Definition at line 25 of file MeanFieldModelsMulti.h.
|
inline |
Constructor for the MeanFieldModelMultiBase class.
| N | Number of particle species in the system. |
Definition at line 32 of file MeanFieldModelsMulti.h.
|
inlinevirtual |
Destructor for the MeanFieldModelMultiBase class.
Definition at line 37 of file MeanFieldModelsMulti.h.
|
inlinevirtual |
Gets the component indices.
Definition at line 103 of file MeanFieldModelsMulti.h.
|
inlinevirtual |
Gets the component indices from.
Definition at line 110 of file MeanFieldModelsMulti.h.
|
inlinevirtual |
Gets the number of components.
Definition at line 117 of file MeanFieldModelsMulti.h.
|
protectedvirtual |
Computes the components based on the mean field parameters.
Reimplemented in thermalfist::MeanFieldModelChargeDensityDependent, thermalfist::MeanFieldModelComponents, and thermalfist::MeanFieldModelMultiVDW.
Definition at line 242 of file MeanFieldModelsMulti.cpp.
|
inlinevirtual |
Calculates the second derivative of the mean field.
| i | First species index. |
| j | Second species index. |
Reimplemented in thermalfist::MeanFieldModelChargeDensityDependent, thermalfist::MeanFieldModelComponents, and thermalfist::MeanFieldModelMultiVDW.
Definition at line 61 of file MeanFieldModelsMulti.h.
|
inlinevirtual |
Calculates the third derivative of the mean field.
| i | First species index. |
| j | Second species index. |
| k | Third species index. |
Reimplemented in thermalfist::MeanFieldModelChargeDensityDependent, thermalfist::MeanFieldModelComponents, and thermalfist::MeanFieldModelMultiVDW.
Definition at line 71 of file MeanFieldModelsMulti.h.
|
inlinevirtual |
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 in thermalfist::MeanFieldModelChargeDensityDependent, thermalfist::MeanFieldModelComponents, and thermalfist::MeanFieldModelMultiVDW.
Definition at line 82 of file MeanFieldModelsMulti.h.
|
inlinevirtual |
Calculates the first derivative of the mean field.
| i | Species index. |
Reimplemented in thermalfist::MeanFieldModelChargeDensityDependent, thermalfist::MeanFieldModelComponents, and thermalfist::MeanFieldModelMultiVDW.
Definition at line 52 of file MeanFieldModelsMulti.h.
|
inlinevirtual |
Calculates the temperature derivative of the mean field.
Reimplemented in thermalfist::MeanFieldModelChargeDensityDependent, thermalfist::MeanFieldModelComponents, and thermalfist::MeanFieldModelMultiVDW.
Definition at line 89 of file MeanFieldModelsMulti.h.
|
virtual |
Sets the densities of particle species.
| n | Vector of densities. |
Reimplemented in thermalfist::MeanFieldModelChargeDensityDependent.
Definition at line 233 of file MeanFieldModelsMulti.cpp.
|
inlinevirtual |
Calculates the mean field value.
Reimplemented in thermalfist::MeanFieldModelChargeDensityDependent, thermalfist::MeanFieldModelComponents, and thermalfist::MeanFieldModelMultiVDW.
Definition at line 44 of file MeanFieldModelsMulti.h.
|
protected |
Definition at line 125 of file MeanFieldModelsMulti.h.
|
protected |
Definition at line 126 of file MeanFieldModelsMulti.h.
|
protected |
Definition at line 127 of file MeanFieldModelsMulti.h.
|
protected |
Definition at line 124 of file MeanFieldModelsMulti.h.
|
protected |
Definition at line 128 of file MeanFieldModelsMulti.h.
|
protected |
Definition at line 123 of file MeanFieldModelsMulti.h.