|
Nektar++
|
Device sum-factorised implementation of the per-block linearised advection-diffusion-reaction operator, serving both the SumFac and the SumFacTOP strategy. More...
#include <LibUtilities/BasicUtils/Utils/UtilsKernels.hpp>#include <MultiRegions/ElmtOps/LinAdvDiffReaction/LinAdvDiffReactionBlockOp.hpp>#include <MultiRegions/ElmtOps/LinAdvDiffReaction/LinAdvDiffReactionBlockOpDeviceSumFacKernels.hpp>#include <MultiRegions/ElmtOps/LinAdvDiffReaction/LinAdvDiffReactionBlockOpDeviceSumFacTOPKernels.hpp>Go to the source code of this file.
Classes | |
| class | Nektar::MultiRegions::detail::LinAdvDiffReactionBlockOpImpl< ExecSpace, Implementation, TData > |
| Device StdMat block implementation of the linearised advection-diffusion-reaction operator: dense standard-region matrices through the vendor BLAS, around a pointwise metric kernel. More... | |
Namespaces | |
| namespace | Nektar |
| namespace | Nektar::MultiRegions |
| namespace | Nektar::MultiRegions::detail |
Macros | |
| #define | NEKTAR_BLOCKOP_SWITCH_CODE |
Device sum-factorised implementation of the per-block linearised advection-diffusion-reaction operator, serving both the SumFac and the SumFacTOP strategy.
This one header is included by the translation units CMake generates for either sum-factorisation strategy on the Device execution space; the Implementation tag selects between the two kernel families at compile time, when the enable_if-constrained LinAdvDiffReactionKernelLauncher overloads resolve:
Both families are the corresponding Helmholtz kernels with this family's advection kernel spliced in after the derivative stage, and both reuse the Helmholtz workspace and shared-memory sizing functions (HelmholtzWorkSpaceSize, HelmholtzSharedMemorySize) unchanged, the intermediates being the same.
The two strategies want different storage and derivative-factor layouts; see the class description. v_Apply() dispatches on the block's shape type to the ShapeBlock() specialisations, which CMake generates from LibUtilities/BasicUtils/Switch/BlockOpShapeBlock.cpp.in.
Definition in file LinAdvDiffReactionBlockOpDeviceSumFac.hpp.
| #define NEKTAR_BLOCKOP_SWITCH_CODE |
Definition at line 88 of file LinAdvDiffReactionBlockOpDeviceSumFac.hpp.