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

Serial/AVX kernels of the Pointwise form of the lift-and-project operator, shared by its SumFac and StdMat implementations: one SIMD vector of elements per call. More...

#include <LibUtilities/BasicUtils/NekInline.hpp>
#include <LibUtilities/BasicUtils/SafeDivide.hpp>

Go to the source code of this file.

Namespaces

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

Functions

template<bool DEFORMED, typename simd_type , typename TData >
static NEK_FORCE_INLINE void Nektar::MultiRegions::detail::PhysLiftProjectPointScaleKernel (const unsigned int nqTot, const TData scale, const simd_type *weights, const simd_type *jac, simd_type *pointScale)
 The Pointwise form's factor of one element group, pointScale[q] = scale / (w_q J), zero on the padding elements, whose Jacobian is zero. weights holds the quadrature weights at every point (WeightsKey), jac the group's Jacobian, one per element or, when DEFORMED, one per point.
 
template<bool APPEND, typename simd_type >
static NEK_FORCE_INLINE void Nektar::MultiRegions::detail::PhysLiftProjectPointwiseKernel (const unsigned int nqTot, const simd_type *pointScale, const simd_type *vol, simd_type *out)
 The Pointwise form of one element group: out (+)= pointScale * vol.
 

Detailed Description

Serial/AVX kernels of the Pointwise form of the lift-and-project operator, shared by its SumFac and StdMat implementations: one SIMD vector of elements per call.

Definition in file PhysLiftProjectBlockOpSerialAVXKernels.hpp.