| 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, |
no outgoing calls
no test coverage detected