1RealT
uu = 1.0 - rr - ss;
7 -0.5 * tt *
tm * (3 * ss - 2) *
uu + 0.5 * tt *
tm * (3 *
rs - 2 * rr - 2 * ss + 1);
9 -0.5 * tt *
tm * (3 * rr - 2) *
uu + 0.5 * tt *
tm * (3 *
rs - 2 * rr - 2 * ss + 1);
11 0.5 * tt *
uu * (3 *
rs - 2 * rr - 2 * ss + 1) - 0.5 *
tm *
uu * (3 *
rs - 2 * rr - 2 * ss + 1);
13basisGradient[3] = -0.5 * tt *
tm * (-3 *
rs + 4 * rr + ss * (-3 * rr - 3 * ss + 3) - 1);
16 0.5 *
tm * (
rs * (-3 * rr - 3 * ss + 3) - 2 *
rs - 2 * rr *
uu + rr);
19basisGradient[7] = -0.5 * tt *
tm * (-3 *
rs + rr * (-3 * rr - 3 * ss + 3) + 4 * ss - 1);
21 0.5 *
tm * (
rs * (-3 * rr - 3 * ss + 3) - 2 *
rs - 2 * ss *
uu + ss);
24 0.5 * tt * (3 * ss - 2) *
tp *
uu - 0.5 * tt *
tp * (3 *
rs - 2 * rr - 2 * ss + 1);
26 0.5 * tt * (3 * rr - 2) *
tp *
uu - 0.5 * tt *
tp * (3 *
rs - 2 * rr - 2 * ss + 1);
28 0.5 * tt *
uu * (3 *
rs - 2 * rr - 2 * ss + 1) + 0.5 *
tp *
uu * (3 *
rs - 2 * rr - 2 * ss + 1);
30basisGradient[12] = 0.5 * tt *
tp * (-3 *
rs + 4 * rr + ss * (-3 * rr - 3 * ss + 3) - 1);
33 0.5 *
tp * (
rs * (-3 * rr - 3 * ss + 3) - 2 *
rs - 2 * rr *
uu + rr);
36basisGradient[16] = 0.5 * tt *
tp * (-3 *
rs + rr * (-3 * rr - 3 * ss + 3) + 4 * ss - 1);
38 0.5 *
tp * (
rs * (-3 * rr - 3 * ss + 3) - 2 *
rs - 2 * ss *
uu + ss);
44basisGradient[21] = -0.5 * tt *
tm * (12 *
rs - ss * (-12 * rr - 12 * ss + 12) + 4 * ss);
45basisGradient[22] = -0.5 * tt *
tm * (12 *
rs - rr * (-12 * rr - 12 * ss + 12) + 4 * rr);
47 0.5 *
tm * (-
rs * (-12 * rr - 12 * ss + 12) + 4 *
rs);
57basisGradient[30] = 0.5 * tt *
tp * (12 *
rs - ss * (-12 * rr - 12 * ss + 12) + 4 * ss);
58basisGradient[31] = 0.5 * tt *
tp * (12 *
rs - rr * (-12 * rr - 12 * ss + 12) + 4 * rr);
60 0.5 *
tp * (-
rs * (-12 * rr - 12 * ss + 12) + 4 *
rs);
69 tm *
uu * (3 *
rs - 2 * rr - 2 * ss + 1) -
tp *
uu * (3 *
rs - 2 * rr - 2 * ss + 1);
74 tp * (
rs * (-3 * rr - 3 * ss + 3) - 2 *
rs - 2 * rr *
uu + rr);
79 tp * (
rs * (-3 * rr - 3 * ss + 3) - 2 *
rs - 2 * ss *
uu + ss);
96 tm * (-
rs * (-12 * rr - 12 * ss + 12) + 4 *
rs) -
tp * (-
rs * (-12 * rr - 12 * ss + 12) + 4 *
rs);