|
Nektar++
|
The Roe flux through the trace normal, in Cartesian components (as the legacy RoeSolver). More...
#include <RoeSolverKernels.hpp>
Public Member Functions | |
| template<typename TData > | |
| NEK_HOSTDEVICE_INLINE void | operator() (const EqnOfStParams &EoS, const size_t blksize, const TData *fwd, const TData *bwd, const TData *normal, TData *flux) |
The Roe flux through the trace normal, in Cartesian components (as the legacy RoeSolver).
The averages, wave strengths and eigenvectors of the Roe linearisation, written with the normal n alone: the normal components are dot products with n, and the shear waves, whose eigenvectors are the tangent directions, enter only through their sum, the tangential projection w - (n . w) n of w = [rho u] - u~ [rho]. In one dimension that projection vanishes.
Definition at line 60 of file RoeSolverKernels.hpp.
|
inline |
| blksize | Component stride, in TData (a scalar or a SIMD vector of points): component c of the states, the normal and the flux lies at offset c * blksize. |
| normal | The unit trace normal, pointing from fwd to bwd, NDIM components. |
Definition at line 70 of file RoeSolverKernels.hpp.
References tinysimd::abs(), Nektar::detail::RoeAverageState< NDIM, vec_t >::cRoe, Nektar::detail::RoeAverageState< NDIM, vec_t >::EL, Nektar::detail::RoeAverageState< NDIM, vec_t >::ER, Nektar::detail::RoeAverageState< NDIM, vec_t >::hRoe, Nektar::detail::RoeAverageState< NDIM, vec_t >::pL, Nektar::detail::RoeAverageState< NDIM, vec_t >::pR, Nektar::detail::RoeAverageState< NDIM, vec_t >::uL, Nektar::detail::RoeAverageState< NDIM, vec_t >::uR, Nektar::detail::RoeAverageState< NDIM, vec_t >::uRoe, and Nektar::detail::RoeAverageState< NDIM, vec_t >::URoe2.