22 #ifndef SHAPETABLE_DUDLEY
23 #define SHAPETABLE_DUDLEY
25 #include "esysUtils/types.h"
32 static const double DTDV_0D[1][1] = { {0} };
33 static const double DTDV_1D[2][2] = { {-1., 1}, {-1., 1.} };
36 static const double DTDV_2D[3 * 3][2] = { {-1, 1}, {0, -1.}, {0, 1},
37 {-1, 1}, {0, -1.}, {0, 1},
38 {-1, 1}, {0, -1.}, {0, 1}
40 static const double DTDV_3D[4][3] = { {-1, -1, -1}, {1, 0, 0}, {0, 1, 0}, {0, 0, 1} };
45 static const dim_t Dims[8] = { 0, 1, 2, 3, 1, 2, 3, 0 };
49 static const dim_t shiftNodesMap[8][4] = { {0}, {1, 0}, {1, 2, 0}, {-1}, {0, 1, 2}, {1, 0, 2}, {1, 2, 0, 3}, {0} };
50 static const dim_t reverseNodesMap[8][4] = { {-1}, {-1}, {0, 2, 1}, {-1}, {-1}, {-1}, {0, 2, 1, 3}, {0} };
55 static const double QuadWeight[4][2] = { {0, 0}, {1., 0.5}, {0.5, 1. / 6}, {1. / 6, 1. / 24} };