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

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

#include <MultiRegions/ExpListHomogeneous1D.h>
#include <MultiRegions/ElmtOps/Advection/AdvectionOp.hpp>
#include <MultiRegions/ElmtOps/AdvectionZOpImpl.hpp>

Go to the source code of this file.

Classes

class  Nektar::MultiRegions::detail::AdvectionOpImpl< ExecSpace, TData >
 Execution-space implementation of AdvectionOp; 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 advection operator.

The whole-field behaviour of the advection operator is implemented in AdvectionOp (AdvectionOp.hpp); the class here registers an "Advection" + execution-space key with the operator factory and, on a multi-plane 3DH1 expansion, owns the z-operator (AdvectionZOpImpl.hpp) that adds the homogeneous term w du/dz. The plane-local numerical work is done by the block operators created alongside it (see AdvectionBlockOpSerialAVXStdMat.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 AdvectionOp.hpp and the operator factory.

Definition in file AdvectionOpImpl.hpp.