|
Nektar++
|
Public interface of the PhysLiftProject element operator: the trace lift followed by the projection through coefficient space, the tail of a weak discontinuous Galerkin right-hand side. More...
#include <MultiRegions/ElmtOps/ElmtOp.hpp>#include <MultiRegions/ElmtOps/PhysLiftProject/PhysLiftProjectBlockOp.hpp>Go to the source code of this file.
Classes | |
| class | Nektar::MultiRegions::PhysLiftProjectOp< TData > |
| Whole-field interface of the lift-and-project operator: holds one PhysLiftProjectBlockOp per element block and hands each block of the fields to it. More... | |
Namespaces | |
| namespace | Nektar |
| namespace | Nektar::MultiRegions |
Public interface of the PhysLiftProject element operator: the trace lift followed by the projection through coefficient space, the tail of a weak discontinuous Galerkin right-hand side.
For every element the operator computes
\[ u \mathrel{(+)=} s\, B M^{-1} B^{\mathsf T} (f + L g), \]
where
f holds the element's physical-space inner products, the arrays IProductWRTDerivBase (physical-space output) and IProductWRTPhysTrace write, which carry the quadrature metric already;g holds values on the element's own traces, laid out by GetLocTraceBlockAttributes(), and L is the trace lift of IProductWRTPhysTrace, \(\sum_F \int_F g\, h_{\boldsymbol p} J_F\);s is the SetScale() factor, and SetAppend() accumulates onto u.It is therefore the four-operator chain IProductWRTPhysTrace (appending), IProductWRTBase without integration, MultiplyByElmtInvMass and BwdTrans, up to rounding. Each block takes one of three forms, decided at construction by detail::PhysLiftProjectFormOf():
Apply(in, trace, out) lifts trace, each block through its block operator's ApplyLift(); the two-argument Apply(in, out) projects in alone. in and out are distinct fields; out leaves at the interleave width of in.
The family follows the standard element-operator layout (see ElmtOp.hpp): this interface, detail::PhysLiftProjectOpImpl for the factory, the per-block interface PhysLiftProjectBlockOp, and two block implementations in each execution space, chosen as for the other element operators (--opImpl or the session's per-operator setting):
scale / J, and the Pointwise form through the kernels it shares with SumFac; and in both the ElmtInvMass form through PhysLiftProjectBlockOp's CreateChain() and ApplyElmtInvMass(). Definition in file PhysLiftProjectOp.hpp.