![]() |
Thermal-FIST 1.5
Package for hadron resonance gas model applications
|
Implementation of a charge density dependent mean field model. More...
#include <MeanFieldModelsMulti.h>
Public Member Functions | |
| MeanFieldModelChargeDensityDependent (MeanFieldModelBase *mfmod, const std::vector< double > &chgs) | |
| Constructor for the MeanFieldModelChargeDensityDependent class. | |
| virtual | ~MeanFieldModelChargeDensityDependent () |
| Destructor for the MeanFieldModelChargeDensityDependent 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. | |
Public Member Functions inherited from thermalfist::MeanFieldModelMultiBase | |
| MeanFieldModelMultiBase (int N) | |
| Constructor for the MeanFieldModelMultiBase class. | |
| virtual | ~MeanFieldModelMultiBase () |
| Destructor for the MeanFieldModelMultiBase class. | |
| 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 | |
| MeanFieldModelBase * | m_mfmodel |
| std::vector< double > | m_charges |
| double | m_nB |
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 charge density dependent mean field model.
This class implements a mean field model where the mean field depends on the charge density of the system rather than the individual particle densities.
Definition at line 342 of file MeanFieldModelsMulti.h.
|
inline |
Constructor for the MeanFieldModelChargeDensityDependent class.
| mfmod | Pointer to the mean field model for a single component. |
| chgs | Vector of charge indices for each particle species. |
Definition at line 351 of file MeanFieldModelsMulti.h.
|
virtual |
Destructor for the MeanFieldModelChargeDensityDependent class.
Definition at line 168 of file MeanFieldModelsMulti.cpp.
|
protectedvirtual |
Computes the components based on the mean field parameters.
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 214 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 186 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 191 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 196 of file MeanFieldModelsMulti.cpp.
|
virtual |
Calculates the first derivative of the mean field.
| i | Species index. |
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 181 of file MeanFieldModelsMulti.cpp.
|
virtual |
Calculates the temperature derivative of the mean field.
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 201 of file MeanFieldModelsMulti.cpp.
|
virtual |
Sets the densities of particle species.
| n | Vector of densities. |
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 206 of file MeanFieldModelsMulti.cpp.
|
virtual |
Calculates the mean field value.
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 176 of file MeanFieldModelsMulti.cpp.
|
protected |
Definition at line 432 of file MeanFieldModelsMulti.h.
|
protected |
Definition at line 431 of file MeanFieldModelsMulti.h.
|
protected |
Definition at line 433 of file MeanFieldModelsMulti.h.