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

Method Apply

bem/diffopwithfactor.hpp:102–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100
101
102 void Apply (const FiniteElement & fel,
103 const BaseMappedIntegrationPoint & mip,
104 BareSliceVector<Complex> x,
105 FlatVector<Complex> flux,
106 LocalHeap & lh) const override
107 {
108 auto dims = factor->Dimensions();
109
110 HeapReset hr(lh);
111 FlatVector<Complex> tmpflux(dims[1], lh);
112 FlatVector<Complex> factorx(dims[0]*dims[1], lh);
113
114 diffop -> Apply (fel, mip, x, tmpflux, lh);
115 factor -> Evaluate (mip, factorx);
116 flux = factorx.AsMatrix(dims[0], dims[1]) * tmpflux;
117 }
118
119
120 void Apply (const FiniteElement & fel,

Callers 4

BuildLocalExpansionMethod · 0.45
AddTangentCorrectionMethod · 0.45
T_EvaluateMethod · 0.45

Calls 8

pw_multFunction · 0.85
DimensionsMethod · 0.80
EvaluateMethod · 0.45
SizeMethod · 0.45
ColsMethod · 0.45
RowsMethod · 0.45
RangeMethod · 0.45
RowMethod · 0.45

Tested by

no test coverage detected