Nektar++
Loading...
Searching...
No Matches
Classes | Namespaces
MassBlockOpDeviceStdMat.hpp File Reference

Device standard-matrix (StdMat) implementation of the per-block mass operator. More...

#include <LibUtilities/BasicUtils/Utils/UtilsKernels.hpp>
#include <LibUtilities/LinearAlgebra/NekBlas/NekBlas.hpp>
#include <MultiRegions/ElmtOps/Mass/MassBlockOp.hpp>

Go to the source code of this file.

Classes

class  Nektar::MultiRegions::detail::MassBlockOpImpl< ExecSpace, Implementation, TData >
 Device StdMat mass operator: the whole block's operation as one or two strided-batched dense matrix products on the back-end BLAS, with the Jacobian applied by a device kernel between or after them. More...
 

Namespaces

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

Detailed Description

Device standard-matrix (StdMat) implementation of the per-block mass operator.

One or two dense multiplies with standard-region matrices, with the Jacobian stage between or after them: each multiply is a single strided-batched GEMM covering every component at once, and the Jacobian stage one device launch over every point, element, component and homogeneous mode of the block.

This header provides the definition of detail::MassBlockOpImpl for the Device execution space with the StdMat implementation tag; the sum-factorised Device definition lives in MassBlockOpDeviceSumFac.hpp, and each CMake-generated registration translation unit includes exactly one implementation header.

Note
CMake includes this header into the registration translation units it generates for this operator, execution space and implementation; it should not normally be included by any other translation unit. Other code goes through MassOp.hpp and the operator factory: including this header directly instantiates the whole template set in that translation unit, which is what the generated sources exist to avoid.

Definition in file MassBlockOpDeviceStdMat.hpp.