|
Nektar++
|
Whole-field base class and factory machinery shared by every element-operator family in the MultiRegions library. More...
#include <map>#include <utility>#include <LibUtilities/BasicUtils/StringUtils.hpp>#include <MultiRegions/Common/BlockOperator.hpp>#include <MultiRegions/Common/Operator.hpp>Go to the source code of this file.
Classes | |
| class | Nektar::MultiRegions::ElmtOp< TFieldIn, TFieldOut, TData > |
Common base class of the element-operator interfaces: an operator applied independently to every element of an expansion, taking a field in state TFieldIn to a field in state TFieldOut. More... | |
Namespaces | |
| namespace | Nektar |
| namespace | Nektar::MultiRegions |
Whole-field base class and factory machinery shared by every element-operator family in the MultiRegions library.
An element operator acts element by element – it never couples degrees of freedom belonging to different elements – and maps a Field in one state (coefficient or physical space) to a Field in the same or the other state: BwdTrans, for instance, takes coefficients to physical values, while Mass maps coefficient space to itself. Every family in the subdirectories of ElmtOps (BwdTrans, IProductWRTBase, PhysDeriv, Mass, Helmholtz, ...) derives its public interface class from ElmtOp, which sets the input and output field states at compile time and provides the two-stage factory construction described in the ElmtOp class notes.
The per-block machinery an element operator is built from – how the elements are grouped into blocks of like shape and basis, the implementation-strategy tags (StdMat, SumFac, SumFacTOP, Generic) and the device launch helpers – lives in ElmtBlockOp.hpp; the kernel size-parameter types the sum-factorised implementations hand to their kernels live in ElmtHelper.hpp.
Definition in file ElmtOp.hpp.