Nektar++
Loading...
Searching...
No Matches
Namespaces | Functions
BndCondRiemannInvariantCFEKernels.hpp File Reference
#include <cmath>
#include <LibUtilities/LoopExecution/LoopExecution.hpp>

Go to the source code of this file.

Namespaces

namespace  Nektar
 
namespace  Nektar::detail
 

Functions

template<typename ExecSpace , typename TData >
static NEK_FORCE_INLINE void Nektar::detail::ProjectFreestreamVelocityBlock (const size_t stride, const unsigned coordDim, const TData *velInfHost, const TData *norms, TData *VnInf, const unsigned int streamID=0)
 Project the freestream velocity onto a block's outward normals.
 
template<typename ExecSpace , typename TData >
static NEK_FORCE_INLINE void Nektar::detail::ApplyRiemannInvariantBlock (const size_t stride, const unsigned coordDim, const size_t eng, const TData gamma, const TData rhoInf, const TData pInf, const TData *velInfHost, const TData *VnInf, const TData *norms, TData *bndPtr, const unsigned int streamID=0)
 Reconstruct the boundary state on a block from the Riemann invariants, each taken from the side that carries it.