MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / ApplyTrans

Method ApplyTrans

comp/interpolate.cpp:705–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703
704
705 NGS_DLL_HEADER virtual void
706 ApplyTrans (const FiniteElement & fel,
707 const BaseMappedIntegrationRule & mir,
708 FlatMatrix<double> flux,
709 BareSliceVector<double> x,
710 LocalHeap & lh) const override
711 {
712 HeapReset hr(lh);
713 FlatMatrix<double,ColMajor> mat(flux.Height()*flux.Width(), fel.GetNDof(), lh);
714 CalcMatrix (fel, mir, mat, lh);
715 x.Range(0,fel.GetNDof()) = Trans(mat)*flux.AsVector();
716 }
717
718
719 NGS_DLL_HEADER virtual void

Callers 6

CalcFluxProjectFunction · 0.45
SetValuesFunction · 0.45
ApplyAddMethod · 0.45
AssembleMethod · 0.45
T_Evaluate_implMethod · 0.45
CalcHessianAddMethod · 0.45

Calls 6

TransFunction · 0.50
HeightMethod · 0.45
WidthMethod · 0.45
GetNDofMethod · 0.45
RangeMethod · 0.45
AsVectorMethod · 0.45

Tested by

no test coverage detected