aboutsummaryrefslogtreecommitdiff
path: root/src/Lagrange-tensor-product/2d.coeffs/2d.cube.order2.smooth0/coeffs-dxx.compute.c
blob: 0599d25fd109fc2172538651bfc5b586f6e19c13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
fp t62;
fp t61;
fp t60;
fp t59;
fp t58;
fp t57;
      t62 = y*y;
      t61 = RATIONAL(1.0,2.0);
      t60 = t61*t62;
      t59 = RATIONAL(1.0,1.0)-t62;
      t58 = RATIONAL(-1.0,2.0)*y+t60;
      t57 = t61*y+t60;
      coeffs_dxx->coeff_m1_m1 = t58;
      coeffs_dxx->coeff_0_m1 = y-t62;
      coeffs_dxx->coeff_p1_m1 = t58;
      coeffs_dxx->coeff_m1_0 = t59;
      coeffs_dxx->coeff_0_0 = RATIONAL(-2.0,1.0)+RATIONAL(2.0,1.0)*t62;
      coeffs_dxx->coeff_p1_0 = t59;
      coeffs_dxx->coeff_m1_p1 = t57;
      coeffs_dxx->coeff_0_p1 = -t62-y;
      coeffs_dxx->coeff_p1_p1 = t57;