35#include <boost/core/ignore_unused.hpp>
56 boost::ignore_unused(rho);
62 boost::ignore_unused(rho);
90 boost::ignore_unused(rho);
96 boost::ignore_unused(e);
Encapsulates equations of state allowing us to obtain thermodynamic properties: most relations are in...
NekDouble GetTemperature(const NekDouble &rho, const NekDouble &e)
Calculate the temperature.
static EquationOfStateSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession)
Creates an instance of this class.
virtual NekDouble v_GetSoundSpeed(const NekDouble &rho, const NekDouble &e) override final
static std::string className
Name of the class.
virtual NekDouble v_GetEFromRhoP(const NekDouble &rho, const NekDouble &p) override final
virtual NekDouble v_GetTemperature(const NekDouble &rho, const NekDouble &e) override final
IdealGasEoS(const LibUtilities::SessionReaderSharedPtr &pSession)
T GetPressureKernel(const T &rho, const T &e)
virtual NekDouble v_GetDPDe_rho(const NekDouble &rho, const NekDouble &e) override final
virtual NekDouble v_GetPressure(const NekDouble &rho, const NekDouble &e) override final
virtual NekDouble v_GetDPDrho_e(const NekDouble &rho, const NekDouble &e) override final
virtual NekDouble v_GetRhoFromPT(const NekDouble &rho, const NekDouble &p) override final
T GetTemperatureKernel(const T &e)
virtual NekDouble v_GetEntropy(const NekDouble &rho, const NekDouble &e) override final
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
The above copyright notice and this permission notice shall be included.
EquationOfStateFactory & GetEquationOfStateFactory()
Declaration of the equation of state factory singleton.
tinysimd::simd< NekDouble > vec_t
scalarT< T > log(scalarT< T > in)
scalarT< T > sqrt(scalarT< T > in)