Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
trancoeff.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file trancoeff.h
1 class EoS ;
2 
3 // this class contains the information about the transport coefficients
4 // of the fluid: eta/s, zeta/s and the corresponding relaxation times,
5 // taupi (\tau_\pi) and tauPi (\tau_\Pi)
7 {
8  double etaS, zetaS, taupi, tauPi ;
9  EoS *eos ; // EoS instance is needed optionally for zeta/s parametrization, which depends on the speed of sound
10  public:
11  TransportCoeff(double _etaS, double _zetaS, EoS *_eos) ;
13  // returns (optionally temperature dependent) eta/s and zeta/s
14  void getEta(double e, double T, double &_etaS, double &_zetaS) ;
15  // returns shear and bulk relaxation times
16  void getTau(double T, double &_taupi, double &_tauPi) ;
17  // isViscous tells whether the fluid is viscous or inviscid
18  inline bool isViscous() { if(etaS>0. || zetaS>0.) return true ; else return false ; }
19 } ;