VTK  9.4.20241103
QuadC2Gradient.h
Go to the documentation of this file.
1basisGradient[0] = (-0.25 + 0.5 * rr) * (-1. + ss) * ss;
2basisGradient[1] = (-1.0 + rr) * rr * (-0.25 + 0.5 * ss);
3basisGradient[2] = 0.0;
4
5basisGradient[3] = (0.25 + 0.5 * rr) * (-1. + ss) * ss;
6basisGradient[4] = rr * (1. + rr) * (-0.25 + 0.5 * ss);
7basisGradient[5] = 0.0;
8
9basisGradient[6] = (0.25 + 0.5 * rr) * ss * (1. + ss);
10basisGradient[7] = rr * (1. + rr) * (0.25 + 0.5 * ss);
11basisGradient[8] = 0.0;
12
13basisGradient[9] = (-0.25 + 0.5 * rr) * ss * (1. + ss);
14basisGradient[10] = (-1. + rr) * rr * (0.25 + 0.5 * ss);
15basisGradient[11] = 0.0;
16
17basisGradient[12] = rr * (1.0 - ss) * ss;
18basisGradient[13] = 0.5 * (1.0 - rr) * (1.0 + rr) * (-1.0 + 2.0 * ss);
19basisGradient[14] = 0.0;
20
21basisGradient[15] = 0.5 * (1.0 - ss) * (1.0 + ss) * (1.0 + 2.0 * rr);
22basisGradient[16] = -rr * (1.0 + rr) * ss;
23basisGradient[17] = 0.0;
24
25basisGradient[18] = -ss * (1.0 + ss) * rr;
26basisGradient[19] = 0.5 * (1.0 - rr) * (1.0 + rr) * (1.0 + 2.0 * ss);
27basisGradient[20] = 0.0;
28
29basisGradient[21] = 0.5 * (1.0 - ss) * (1.0 + ss) * (-1.0 + 2.0 * rr);
30basisGradient[22] = (1.0 - rr) * rr * ss;
31basisGradient[23] = 0.0;
32
33basisGradient[24] = -2.0 * (1.0 - ss) * (1.0 + ss) * rr;
34basisGradient[25] = -2.0 * (1.0 - rr) * (1.0 + rr) * ss;
35basisGradient[26] = 0.0;
basisGradient[0]