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

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
 

Detailed Description

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

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):

Definition in file PhysLiftProjectOp.hpp.