30 const double r = x[0];
31 const double s = x[1];
32 const double t = x[2];
34 dN[0] = -0.125 * (1.0 - s) * (1.0 - t);
36 dN[2] = 0.125 * (1.0 + s) * (1.0 - t);
40 dN[5] = -0.125 * (1.0 - r) * (1.0 - t);
41 dN[6] = -0.125 * (1.0 + r) * (1.0 - t);
46 dN[10] = -0.125 * (1.0 - r) * (1.0 - s);
47 dN[11] = -0.125 * (1.0 + r) * (1.0 - s);
48 dN[12] = -0.125 * (1.0 + r) * (1.0 + s);
49 dN[13] = -0.125 * (1.0 - r) * (1.0 + s);