47 EquationOfState::EquationOfState(
50 pSession->LoadParameter(
"Gamma", m_gamma, 1.4);
51 pSession->LoadParameter(
"GasConstant", m_gasConstant, 287.058);
57 return v_GetTemperature(rho, e);
62 return v_GetPressure(rho, e);
68 return v_GetSoundSpeed(rho, e);
73 return v_GetEntropy(rho, e);
78 return v_GetDPDrho_e(rho, e);
83 return v_GetDPDe_rho(rho, e);
89 return v_GetEFromRhoP(rho, p);
94 return v_GetRhoFromPT(p, T);
111 return sqrt(chi + kappa * enthalpy);
EquationOfStateFactory & GetEquationOfStateFactory()
Declaration of the equation of state factory singleton.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
Provides a generic Factory class.