aboutsummaryrefslogtreecommitdiff
path: root/src/Lagrange-tensor-product/2d.coeffs/2d.cube.order2.smooth0/coeffs-dyy.compute.c
blob: dfbebbee0aa862809c7791c8e52a8e46cede9b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
fp t80;
fp t79;
fp t78;
fp t77;
fp t76;
fp t75;
      t80 = x*x;
      t79 = RATIONAL(1.0,2.0);
      t78 = t79*t80;
      t77 = -t80+RATIONAL(1.0,1.0);
      t76 = t78+RATIONAL(-1.0,2.0)*x;
      t75 = t78+t79*x;
      coeffs_dyy->coeff_m1_m1 = t76;
      coeffs_dyy->coeff_0_m1 = t77;
      coeffs_dyy->coeff_p1_m1 = t75;
      coeffs_dyy->coeff_m1_0 = -t80+x;
      coeffs_dyy->coeff_0_0 = RATIONAL(-2.0,1.0)+RATIONAL(2.0,1.0)*t80;
      coeffs_dyy->coeff_p1_0 = -t80-x;
      coeffs_dyy->coeff_m1_p1 = t76;
      coeffs_dyy->coeff_0_p1 = t77;
      coeffs_dyy->coeff_p1_p1 = t75;