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

Method GenerateMatrix

comp/l2hofespace.cpp:94–104  ·  view source on GitHub ↗

using DiffOp >::GenerateMatrix;

Source from the content-addressed store, hash-verified

92
93 // using DiffOp<DiffOpNormal<D> >::GenerateMatrix;
94 static void GenerateMatrix (const FiniteElement & fel,
95 const MappedIntegrationPoint<D,D> & mip,
96 BareSliceMatrix<double,ColMajor> mat, LocalHeap & lh)
97 {
98 Cast(fel).CalcShape (mip.IP(), mat.Row(0));
99 for (auto i : Range(fel.GetNDof()))
100 {
101 double val = mat(0, i);
102 mat.Col(i).Range(D) = val * mip.GetNV();
103 }
104 }
105
106 static int DimRef() { return 1; }
107

Callers

nothing calls this directly

Calls 6

RangeFunction · 0.50
CalcShapeMethod · 0.45
RowMethod · 0.45
GetNDofMethod · 0.45
RangeMethod · 0.45
ColMethod · 0.45

Tested by

no test coverage detected