![]() |
Thermal-FIST 1.5
Package for hadron resonance gas model applications
|
Implementation of the van der Waals mean field model for multiple components. More...
#include <MeanFieldModelsMulti.h>
Public Member Functions | |
| MeanFieldModelMultiVDW (const std::vector< std::vector< double > > &a, const std::vector< std::vector< double > > &dadT=std::vector< std::vector< double > >()) | |
| Constructor for the MeanFieldModelMultiVDW class. | |
| virtual | ~MeanFieldModelMultiVDW () |
| Destructor for the MeanFieldModelMultiVDW class. | |
| void | setAij (const std::vector< std::vector< double > > &a) |
| Sets the attraction parameters between species. | |
| void | setdAijdT (const std::vector< std::vector< double > > &dadT) |
| Sets the temperature derivatives of the attraction parameters. | |
| 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< std::vector< double > > | m_a |
| std::vector< std::vector< double > > | m_dadT |
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 the van der Waals mean field model for multiple components.
This class implements the van der Waals mean field model for a system with multiple particle species, where interactions between different particle species are considered.
Definition at line 138 of file MeanFieldModelsMulti.h.
|
inline |
Constructor for the MeanFieldModelMultiVDW class.
| a | Matrix of attraction parameters between species. |
| dadT | Matrix of temperature derivatives of attraction parameters (optional). |
Definition at line 147 of file MeanFieldModelsMulti.h.
|
inlinevirtual |
Destructor for the MeanFieldModelMultiVDW class.
Definition at line 163 of file MeanFieldModelsMulti.h.
|
protectedvirtual |
Computes the components based on the mean field parameters.
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 61 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 38 of file MeanFieldModelsMulti.cpp.
|
inlinevirtual |
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 211 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 from thermalfist::MeanFieldModelMultiBase.
Definition at line 222 of file MeanFieldModelsMulti.h.
|
virtual |
Calculates the first derivative of the mean field.
| i | Species index. |
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 25 of file MeanFieldModelsMulti.cpp.
|
virtual |
Calculates the temperature derivative of the mean field.
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 43 of file MeanFieldModelsMulti.cpp.
|
inline |
Sets the attraction parameters between species.
| a | Matrix of attraction parameters between species. |
Definition at line 170 of file MeanFieldModelsMulti.h.
|
inline |
Sets the temperature derivatives of the attraction parameters.
| dadT | Matrix of temperature derivatives of attraction parameters (optional). |
Definition at line 177 of file MeanFieldModelsMulti.h.
|
virtual |
Calculates the mean field value.
Reimplemented from thermalfist::MeanFieldModelMultiBase.
Definition at line 8 of file MeanFieldModelsMulti.cpp.
|
protected |
Definition at line 235 of file MeanFieldModelsMulti.h.
|
protected |
Definition at line 236 of file MeanFieldModelsMulti.h.