using DiffOp >::GenerateMatrix;
| 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 |