Nektar++
Loading...
Searching...
No Matches
Namespaces | Functions
VariableConverters.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  Nektar
 
namespace  Nektar::detail
 

Functions

template<typename TData >
NEK_HOSTDEVICE_INLINE TData Nektar::detail::GetInternalEnergyFromInvDensity (unsigned ndim, const TData &invRho, const TData *m, const TData &E)
 Compute the specific internal energy \( e = (E - rho*V^2/2)/rho \) from the inverse density invRho, for a kernel that has it already.
 
template<typename TData >
NEK_HOSTDEVICE_INLINE TData Nektar::detail::GetInternalEnergy (unsigned ndim, const TData &rho, const TData *m, const TData &E)
 Compute the specific internal energy \( e = (E - rho*V^2/2)/rho \).
 
template<typename TData >
NEK_HOSTDEVICE_INLINE TData Nektar::detail::GetDynamicViscosity (const TData &temperature, const TData &muRef, bool isVariable, const TData &oneOverTstar, const TData &tRatioSutherland)