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

Method CalcDShape

comp/HCTspace.cpp:46–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 virtual void CalcDShape (const IntegrationPoint & ip,
47 BareSliceMatrix<> dshape) const override
48 {
49 Vector<AutoDiff<2>> adshape(ndof_all);
50 AutoDiff<2> adx(ip(0), 0);
51 AutoDiff<2> ady(ip(1), 1);
52 T_CalcShape<AutoDiff<2>> (adx, ady, adshape);
53 for (int i = 0; i < ndof; i++)
54 {
55 dshape(i,0) = adshape(i).DValue(0);
56 dshape(i,1) = adshape(i).DValue(1);
57 }
58 }
59
60 template <typename T>
61 void T_CalcShape (T x, T y,

Callers 6

GenerateMatrixMethod · 0.45
GenerateMatrixRefMethod · 0.45
GenerateMatrixMethod · 0.45
GenerateMatrixRefMethod · 0.45
GenerateMatrixMethod · 0.45
GenerateMatrixMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected