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

Metric kernel of the Serial/AVX StdMat weak Laplacian: turns reference derivatives into the metric-contracted, Jacobian-weighted quantities the inner product is taken against. More...

#include <LibUtilities/BasicUtils/Utils/UtilsKernels.hpp>

Go to the source code of this file.

Namespaces

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

Functions

template<typename ExecSpace , bool DEFORMED, bool VARCOEFF, typename TData , typename TScalar >
static NEK_FORCE_INLINE void Nektar::MultiRegions::detail::ApplyMetricKernel (const unsigned int nqTot, const unsigned int ncoord, const unsigned int dimension, const size_t nelmt, const size_t insize, const size_t outsize, const TScalar *diffCoeff, const TData *varDiffCoeff, const size_t varDiffCoeffSize, const TData *jacptr, const TData *dfptr, const TData *inptr, TData *outptr)
 Apply \(J\,G = J\,M^T D M\) to the reference derivatives of an element group.
 

Detailed Description

Metric kernel of the Serial/AVX StdMat weak Laplacian: turns reference derivatives into the metric-contracted, Jacobian-weighted quantities the inner product is taken against.

This is the middle step of the three described in LaplacianBlockOpSerialAVXStdMat.hpp; the outer two are dense matrix multiplies issued by the block operator itself, so this header holds a single kernel.

Definition in file LaplacianBlockOpSerialAVXStdMatKernels.hpp.