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

Factory-registered whole-field implementation of the Divergence operator. More...

#include <MultiRegions/ExpListHomogeneous1D.h>
#include <MultiRegions/ElmtOps/DerivZOpImpl.hpp>
#include <MultiRegions/ElmtOps/Divergence/DivergenceOp.hpp>

Go to the source code of this file.

Classes

class  Nektar::MultiRegions::detail::DivergenceOpImpl< ExecSpace, TData >
 Whole-field implementation of DivergenceOp for one execution space, adding \(\partial w/\partial z\) on a multi-plane 3DH1 expansion (see the file notes). More...
 

Namespaces

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

Detailed Description

Factory-registered whole-field implementation of the Divergence operator.

The apply loop lives in DivergenceOp::v_Apply and the per-plane work in the block operators. This class adds the homogeneous z-derivative: for a multi-plane 3DH1 expansion it builds a DerivZOpImpl for the execution space and runs it in v_ApplyFFT(). It also supplies the registration hooks (className, Instantiate()) through which one instantiation per execution space is entered into the operator factory by the CMake-generated factory declaration code.

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 DivergenceOp.hpp and the operator factory.

Definition in file DivergenceOpImpl.hpp.