|
Nektar++
|
The Lax-Friedrichs flux through the trace normal, in Cartesian components (as the legacy LaxFriedrichsSolver): the central flux of the two states through normal less the jump scaled by the largest normal wave speed of the Roe-averaged state.
More...
#include <LaxFriedrichsSolverKernels.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 Lax-Friedrichs flux through the trace normal, in Cartesian components (as the legacy LaxFriedrichsSolver): the central flux of the two states through normal less the jump scaled by the largest normal wave speed of the Roe-averaged state.
Definition at line 53 of file LaxFriedrichsSolverKernels.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, NDIM components. |
Definition at line 62 of file LaxFriedrichsSolverKernels.hpp.
References tinysimd::abs(), Nektar::detail::GetPressure(), Nektar::detail::GetRoeSoundSpeed(), and tinysimd::sqrt().