8 #ifndef THERMALMODELVDWCANONICALSTRANGENESS_H 9 #define THERMALMODELVDWCANONICALSTRANGENESS_H 54 void FillVirialEV(
const std::vector< std::vector<double> > & bij = std::vector< std::vector<double> >(0));
58 void FillVirial(
const std::vector<double> & ri = std::vector<double>(0));
60 void FillAttraction(
const std::vector< std::vector<double> > & aij = std::vector< std::vector<double> >(0));
64 void SetAttraction(
int i,
int j,
double a) {
if (i >= 0 && i < static_cast<int>(
m_Attr.size()) && j >= 0 && j < static_cast<int>(
m_Attr[i].size()))
m_Attr[i][j] = a; }
114 virtual double MuShift(
int id)
const;
118 std::vector< std::vector<double> >
m_Attr;
126 #endif // THERMALMODELEVCANONICALSTRANGENESS_H double VirialCoefficient(int i, int j) const
Excluded volume coefficient .
virtual double CalculateEntropyDensity()
virtual void CalculateSums(const std::vector< double > &Vcs)
Calculates the necessary strangeness-canonical partition functions.
virtual void CalculatePressuresGCE()
Calculates the grand-canonical pressures.
double AttractionCoefficient(int i, int j) const
QvdW mean field attraction coefficient .
Class implementing the ideal HRG model with exact conservation of strangeness (strangeness-canonical ...
void FillAttraction(const std::vector< std::vector< double > > &aij=std::vector< std::vector< double > >(0))
Class containing the particle list.
std::vector< double > m_MuStar
std::vector< std::vector< double > > m_Virial
Structure containing all thermal parameters of the model.
void ClearModelVDW()
Clears m_modelVDW.
virtual double MuShift(int id) const
The shift in the chemical potential of particle species i due to the QvdW interactions.
virtual void CalculatePrimordialDensities()
Calculates the primordial densities of all species.
Class implementing the quantum van der Waals HRG model.
std::vector< double > m_Suppression
virtual bool IsConservedChargeCanonical(ConservedCharge::Name charge) const
Whether the given conserved charge is treated canonically.
virtual void WriteInteractionParameters(const std::string &filename)
Write the QvdW interaction parameters to a file.
Class implementing the quantum van der Waals model in the strangeness-canonical ensemble.
virtual ~ThermalModelVDWCanonicalStrangeness(void)
Destroy the ThermalModelEVCanonicalStrangeness object.
virtual void CalculateEnergyDensitiesGCE()
Calculates the grand-canonical energy densities.
std::vector< std::vector< double > > m_Attr
void SetVirial(int i, int j, double b)
Set the excluded volume coefficient .
Name
Set of all conserved charges considered.
virtual double CalculatePressure()
Implementation of the equation of state functions.
ThermalModelVDWCanonicalStrangeness(ThermalParticleSystem *TPS, const ThermalModelParameters ¶ms=ThermalModelParameters())
Construct a new Thermal ModelEVCanonicalStrangeness object.
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...
void SetAttraction(int i, int j, double a)
Set the vdW mean field attraction coefficient .
virtual void ReadInteractionParameters(const std::string &filename)
Reads the QvdW interaction parameters from a file.
ThermalModelVDWFull * m_modelVDW
virtual void CalculateDensitiesGCE()
Calculates the particle densities in a grand-canonical ensemble.
The main namespace where all classes and functions of the Thermal-FIST library reside.
virtual double CalculateEnergyDensity()
ThermalParticleSystem * TPS()
void FillVirialEV(const std::vector< std::vector< double > > &bij=std::vector< std::vector< double > >(0))
Same as FillVirial() but uses the matrix of excluded-volume coefficients as input instead of radii...