24 #ifndef __DUDLEY_SHAPETABLE_H__
25 #define __DUDLEY_SHAPETABLE_H__
34 static const double DTDV_1D[2][2] = { {-1., 1}, {-1., 1.} };
37 static const double DTDV_2D[3 * 3][2] = {
38 {-1, 1}, {0, -1.}, {0, 1},
39 {-1, 1}, {0, -1.}, {0, 1},
40 {-1, 1}, {0, -1.}, {0, 1}
43 static const double DTDV_3D[4][3] = {
53 static const int localDims[8] = { 0, 1, 2, 3, 0, 1, 2, 0 };
54 static const int Dims[8] = { 0, 1, 2, 3, 1, 2, 3, 0 };
64 static const int shiftNodesMap[8][4] = { {0}, {1, 0}, {1, 2, 0}, {-1}, {0, 1, 2}, {1, 0, 2}, {1, 2, 0, 3}, {0} };
68 static const int reverseNodesMap[8][4] = { {-1}, {-1}, {0, 2, 1}, {-1}, {-1}, {-1}, {0, 2, 1, 3}, {0} };
72 static const double QuadWeight[4][2] = { {0, 0}, {1., 0.5}, {0.5, 1. / 6}, {1. / 6, 1. / 24} };
75 static const int QuadNums[4][2] = { {0, 0}, {1, 2}, {1, 3}, {1, 4} };
84 #endif // __DUDLEY_SHAPETABLE_H__