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

Execution-space implementation of the whole-field linearised advection-diffusion-reaction operator. More...

#include <LibUtilities/BasicUtils/Math/Math.hpp>
#include <MultiRegions/ExpListHomogeneous1D.h>
#include <MultiRegions/ElmtOps/AdvectionZOpImpl.hpp>
#include <MultiRegions/ElmtOps/BwdTrans/BwdTransOp.hpp>
#include <MultiRegions/ElmtOps/DerivZOpImpl.hpp>
#include <MultiRegions/ElmtOps/IProductWRTBase/IProductWRTBaseOp.hpp>
#include <MultiRegions/ElmtOps/LinAdvDiffReaction/LinAdvDiffReactionOp.hpp>
#include <MultiRegions/ElmtOps/Mass/MassOp.hpp>

Go to the source code of this file.

Classes

class  Nektar::MultiRegions::detail::LinAdvDiffReactionOpImpl< ExecSpace, TData >
 Execution-space implementation of LinAdvDiffReactionOp; registers it with the operator factory and implements its homogeneous-term hooks. More...
 

Namespaces

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

Detailed Description

Execution-space implementation of the whole-field linearised advection-diffusion-reaction operator.

The whole-field behaviour of the operator – the coefficient setters and the block loop – is implemented in LinAdvDiffReactionOp (LinAdvDiffReactionOp.hpp); the class here registers a "LinAdvDiffReaction" + execution-space key with the operator factory and, on a multi-plane 3DH1 expansion, owns the operators that add the homogeneous-direction terms: the weak z-Laplacian, through DerivZOpImpl.hpp and MassOp, and the advection \(w\,\partial u/\partial z\), through AdvectionZOpImpl.hpp between BwdTransOp and IProductWRTBaseOp. The plane-local numerical work is done by the block operators created alongside it (see LinAdvDiffReactionBlockOpSerialAVXStdMat.hpp and its siblings). CMake-generated translation units instantiate and register this class for each enabled execution space.

Note
CMake includes this header into the registration translation units it generates for this operator, one per execution space and data type; it should not normally be included by any other translation unit. Other code goes through LinAdvDiffReactionOp.hpp and the operator factory.

Definition in file LinAdvDiffReactionOpImpl.hpp.