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

Method AddTransFacetVolIp

fem/facethofe.cpp:199–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197
198 template<ELEMENT_TYPE ET>
199 void FacetFE<ET>::AddTransFacetVolIp(int fnr, const SIMD_IntegrationRule & ir,
200 BareVector<SIMD<double>> values, BareSliceVector<> coefs) const
201 {
202 FlatArray<SIMD<IntegrationPoint>> hir = ir;
203 for (int i = 0; i < hir.Size(); i++)
204 {
205 SIMD<double> val = values(i);
206 T_CalcShapeFNr (fnr, GetTIP<DIM>(hir[i]),
207 SBLambda([&](int j, SIMD<double> shape) { coefs(j) += HSum(val*shape); }));
208 }
209 }
210
211 template <ELEMENT_TYPE ET>
212 void FacetFE<ET>::EvaluateFacetVolIp(int fnr, const SIMD_IntegrationRule & ir,

Callers 1

AddTransMethod · 0.80

Calls 2

HSumFunction · 0.50
SizeMethod · 0.45

Tested by

no test coverage detected