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

Method CalcDualShape

fem/tangentialfacetfe.cpp:191–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189
190 template <ELEMENT_TYPE ET>
191 void TangentialFacetFacetFE<ET> :: CalcDualShape (const SIMD_BaseMappedIntegrationRule & bmir, BareSliceMatrix<SIMD<double>> shapes) const
192 {
193 constexpr int DIMSPACE = DIM+1;
194 auto & mir = static_cast<const SIMD_MappedIntegrationRule<DIM,DIMSPACE>&> (bmir);
195 for (size_t i = 0; i < mir.Size(); i++)
196 this->CalcDualShape2 (mir[i],
197 SBLambda ([&] (size_t j, auto val)
198 {
199 for (size_t k = 0; k < DIMSPACE; k++)
200 shapes(j*DIMSPACE+k, i) = val(k);
201 }));
202 }
203
204
205

Callers

nothing calls this directly

Calls 5

CalcDualShape2Method · 0.95
SizeMethod · 0.45
DimSpaceMethod · 0.45
FacetNrMethod · 0.45
RowMethod · 0.45

Tested by

no test coverage detected