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

Pointwise derivative-factor/velocity kernel of the Serial/AVX StdMat advection block operator (see AdvectionBlockOpSerialAVXStdMat.hpp). More...

Go to the source code of this file.

Namespaces

namespace  Nektar
 
namespace  Nektar::MultiRegions
 
namespace  Nektar::MultiRegions::detail
 

Functions

template<typename ExecSpace , bool APPEND, bool DEFORMED, typename TData , typename TScalar >
static NEK_FORCE_INLINE void Nektar::MultiRegions::detail::MultiplyByDerivFactorAndAdvecVelKernel (const unsigned int nqTot, const unsigned int ncoord, const unsigned int dimension, const size_t nelmt, const size_t inoffset, const TData *dfptr, const TData *advVel, const size_t advelsize, const TData *inptr, TData *outptr, const TScalar scale)
 From reference-space derivatives, form the Cartesian gradient and contract it with the advection velocity: out = scale * sum_k V_k sum_d df(k,d) du/dxi_d, evaluated per quadrature point with one element per SIMD lane.
 

Detailed Description

Pointwise derivative-factor/velocity kernel of the Serial/AVX StdMat advection block operator (see AdvectionBlockOpSerialAVXStdMat.hpp).

Definition in file AdvectionBlockOpSerialAVXStdMatKernels.hpp.