VTK  9.4.20241103
WdgI2Gradient.h
Go to the documentation of this file.
1RealT ww = 1.0 - rr - ss;
2
3basisGradient[0] = -(2.0 * ww - 1.0 - 0.5 * tt) * (1.0 - tt);
4basisGradient[1] = -(2.0 * ww - 1.0 - 0.5 * tt) * (1.0 - tt);
5basisGradient[2] = -0.5 * ww * (2.0 * ww - 1.0 - 2.0 * tt);
6
7basisGradient[3] = (2.0 * rr - 1.0 - 0.5 * tt) * (1.0 - tt);
8basisGradient[4] = 0.0;
9basisGradient[5] = -0.5 * rr * (2.0 * rr - 1.0 - 2.0 * tt);
10
11basisGradient[6] = 0.0;
12basisGradient[7] = (2.0 * ss - 1.0 - 0.5 * tt) * (1.0 - tt);
13basisGradient[8] = -0.5 * ss * (2.0 * ss - 1.0 - 2.0 * tt);
14
15basisGradient[9] = -(2.0 * ww - 1.0 + 0.5 * tt) * (1.0 + tt);
16basisGradient[10] = -(2.0 * ww - 1.0 + 0.5 * tt) * (1.0 + tt);
17basisGradient[11] = 0.5 * ww * (2.0 * ww - 1.0 + 2.0 * tt);
18
19basisGradient[12] = (2.0 * rr - 1.0 + 0.5 * tt) * (1.0 + tt);
20basisGradient[13] = 0.0;
21basisGradient[14] = 0.5 * rr * (2.0 * rr - 1.0 + 2.0 * tt);
22
23basisGradient[15] = 0.0;
24basisGradient[16] = (2.0 * ss - 1.0 + 0.5 * tt) * (1.0 + tt);
25basisGradient[17] = 0.5 * ss * (2.0 * ss - 1.0 + 2.0 * tt);
26
27basisGradient[18] = 2.0 * (ww - rr) * (1.0 - tt);
28basisGradient[19] = -2.0 * rr * (1.0 - tt);
29basisGradient[20] = -2.0 * rr * ww;
30
31basisGradient[21] = 2.0 * ss * (1.0 - tt);
32basisGradient[22] = 2.0 * rr * (1.0 - tt);
33basisGradient[23] = -2.0 * rr * ss;
34
35basisGradient[24] = -2.0 * ss * (1.0 - tt);
36basisGradient[25] = 2.0 * (ww - ss) * (1.0 - tt);
37basisGradient[26] = -2.0 * ww * ss;
38
39basisGradient[27] = -(1.0 - tt * tt);
40basisGradient[28] = -(1.0 - tt * tt);
41basisGradient[29] = -2.0 * tt * ww;
42
43basisGradient[30] = (1.0 - tt * tt);
44basisGradient[31] = 0.0;
45basisGradient[32] = -2.0 * tt * rr;
46
47basisGradient[33] = 0.0;
48basisGradient[34] = (1.0 - tt * tt);
49basisGradient[35] = -2.0 * tt * ss;
50
51basisGradient[36] = 2.0 * (ww - rr) * (1.0 + tt);
52basisGradient[37] = -2.0 * rr * (1.0 + tt);
53basisGradient[38] = 2.0 * rr * ww;
54
55basisGradient[39] = 2.0 * ss * (1.0 + tt);
56basisGradient[40] = 2.0 * rr * (1.0 + tt);
57basisGradient[41] = 2.0 * rr * ss;
58
59basisGradient[42] = -2.0 * ss * (1.0 + tt);
60basisGradient[43] = 2.0 * (ww - ss) * (1.0 + tt);
61basisGradient[44] = 2.0 * ww * ss;
basisGradient[0]
RealT ww