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

Method AddTransSIMDIR

comp/facetsurffespace.cpp:133–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131
132 using DiffOp<DiffOpIdFacetSurface<D>>::AddTransSIMDIR;
133 static void AddTransSIMDIR (const FiniteElement & bfel, const SIMD_BaseMappedIntegrationRule & mir,
134 BareSliceMatrix<SIMD<double>> y, BareSliceVector<double> x)
135 {
136 const FacetVolumeFiniteElement<D-1> & fel_facet = static_cast<const FacetVolumeFiniteElement<D-1>&> (bfel);
137
138 int facetnr = mir.IR()[0].FacetNr();
139 if (facetnr < 0)
140 throw Exception("cannot evaluate facet-fe inside element, add trans simd");
141 else
142 fel_facet.Facet(facetnr).AddTrans(mir.IR(),
143 y.Row(0),
144 x.Range(fel_facet.GetFacetDofs(facetnr)));
145 }
146
147 static shared_ptr<CoefficientFunction>
148 DiffShape (shared_ptr<CoefficientFunction> proxy,

Callers

nothing calls this directly

Calls 6

FacetMethod · 0.80
FacetNrMethod · 0.45
AddTransMethod · 0.45
RowMethod · 0.45
RangeMethod · 0.45
GetFacetDofsMethod · 0.45

Tested by

no test coverage detected