Chapter 28
Element Operators

Currently element operators over a series of blocks of elements on different types of architecture and devices are to be found in the Operator library. These operators work on a block of elements with similar expansion bases, quadrature and are either regular or deformed geometries.

Currently we have implementation for the operators





Description Function short name Mathematical formd



Backward transform ûpq to u(β1,η2) BwdTrans u(η1i,η2j) = ∑ pqϕpq(η1i,η2j)ûpq



Inner Product of f with respect to IPRoductWRTBase Ipq = (ϕpq,f)
the basis ϕpq



Inner Product of a vector f with IPRoductWRTDerivBase Ipq = (∇ϕpq,f)
respect to the grad of the basis ϕpq



Derivative of u in physical PhysDeriv d = ∇u
or quadrature space



Mass matrix operator on u = ∑ rsϕrsûrs Mass Ipq = (ϕpq,u) = (ϕpq,∑ rsϕrsûrs)



Weak Helmholtz operator on u Helmholtz Ipq = (∇ϕpq,∇u) + λ(ϕpq,u)



Interpolate uP (η1,η2) to a 1D scaled PhysInterp1DScaled u(η1iσP ,η2jσP ) =
factor, σ, number of quad. points   ∑ pqhpP (η1iσP )hqP (η2iσP )upqP



Expression operator Expression Evaluates analytical expressions fi = f(xi,yi,zi,t,u,v,…)



Forward transform BC FwdTransBC Evaluates Dirichlet forcing on boundaries for CG see chapter 4.3.2 in [46]



Interpolate u onto the trace PhysTraceExtract u(ξtr) = ∑ puphp(ξtr), see section 28.4
quadrature points of every element



Lift the trace values g onto the PhysLiftProject u = sBM-1B⊤(f + Lg), with f physical-space inner
physical-space inner products f and products and L the trace lift of IProductWRTPhysTrace;
project onto the expansion pointwise s(f + Lg)∕(wJ) where B is square



Element-local part of a weak DG AdvectionFusedElmt (∇ϕ,Fa(u)) and u on the traces,
advection right-hand side, in one pass see section 28.5



Element-local part of a weak DG AdvDiffFusedElmt -(∇ϕ,Fv(u,∇u) -Fa(u)), u on the traces and
advection-diffusion right-hand side, Fv ⋅n on the traces, see section 28.5
in one pass




Table 28.1 Table of element operations and their mathematical form