Thermal-FIST 1.5
Package for hadron resonance gas model applications
Loading...
Searching...
No Matches
ThermalModelEVCrossterms.h
Go to the documentation of this file.
1/*
2 * Thermal-FIST package
3 *
4 * Copyright (c) 2022 Volodymyr Vovchenko
5 *
6 * GNU General Public License (GPLv3 or later)
7 */
8#ifndef THERMALMODELEVCROSSTERMS_H
9#define THERMALMODELEVCROSSTERMS_H
10
12
13namespace thermalfist {
14
36 {
37 public:
46 m_TAG = "ThermalModelEVCrossterms";
47 m_InteractionModel = CrosstermsEV;
48 }
49
54 virtual ~ThermalModelEVCrossterms(void) { }
55
56 // Override functions begin
57
58 virtual void ReadInteractionParameters(const std::string &filename);
59
60 virtual void WriteInteractionParameters(const std::string &filename);
61
62 virtual void SetRadius(double rad) { FillVirial(std::vector<double>(m_TPS->Particles().size(), rad)); }
63
64 virtual void SetAttraction(int i, int j, double a);
65
67 virtual void SetMultipleSolutionsMode(bool search);
68
69 // Override functions end
70
71 const std::vector< std::vector<int> >& EVComponentIndices() const { return VDWComponentIndices(); }
72 };
73
77 void SetEVHRGInteractionParameters(ThermalModelBase *model, double b);
78
79} // namespace thermalfist
80
81#endif
82
map< string, double > params
@ CrosstermsEV
Crossterms excluded volume model.
virtual void SetRadius(double rad)
Set the same excluded volume radius parameter for all species.
virtual ~ThermalModelEVCrossterms(void)
Destroy the ThermalModelEVCrossterms object.
virtual void ReadInteractionParameters(const std::string &filename)
Reads the QvdW interaction parameters from a file.
ThermalModelEVCrossterms(ThermalParticleSystem *TPS, const ThermalModelParameters &params=ThermalModelParameters())
Construct a new ThermalModelEVCrossterms object.
const std::vector< std::vector< int > > & EVComponentIndices() const
virtual void SetAttraction(int i, int j, double a)
Set the vdW mean field attraction coefficient .
virtual void SetMultipleSolutionsMode(bool search)
No need to search for multiple soultions in EV-HRG model.
virtual void WriteInteractionParameters(const std::string &filename)
Write the QvdW interaction parameters to a file.
const std::vector< std::vector< int > > & VDWComponentIndices() const
ThermalModelVDW(ThermalParticleSystem *TPS_, const ThermalModelParameters &params=ThermalModelParameters())
Construct a new ThermalModelVDW object.
virtual void FillVirial(const std::vector< double > &ri=std::vector< double >(0))
Fills the excluded volume coefficients based on the provided radii parameters for all species.
Class containing the particle list.
The main namespace where all classes and functions of the Thermal-FIST library reside.
Definition CosmicEoS.h:9
void SetEVHRGInteractionParameters(ThermalModelBase *model, double b)
Sets EV interactions for baryon-baryon and antibaryon-antibaryon pairs as in https://arxiv....
Structure containing all thermal parameters of the model.