aboutsummaryrefslogtreecommitdiff
path: root/src/Lagrange-tensor-product/2d.coeffs/2d.cube.order2.smooth0/coeffs-dy.compute.c
blob: 49b9574910af768f65055c9888910a16382eeb0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
fp t50;
fp t56;
fp t53;
fp t42;
fp t51;
fp t55;
fp t52;
fp t54;
fp t49;
fp t48;
fp t46;
fp t44;
fp t43;
      t50 = RATIONAL(1.0,2.0);
      t56 = y*t50;
      t53 = x*x;
      t42 = t53*t56;
      t51 = RATIONAL(1.0,4.0);
      t55 = t42+t51*x;
      t52 = RATIONAL(-1.0,4.0);
      t54 = t42+t52*x;
      t49 = RATIONAL(-1.0,2.0);
      t48 = t52*t53;
      t46 = t51*t53;
      t44 = x*t56;
      t43 = t49*x*y;
      coeffs_dy->coeff_m1_m1 = t43+t48+t55;
      coeffs_dy->coeff_0_m1 = y+t49+(t50-y)*t53;
      coeffs_dy->coeff_p1_m1 = t44+t48+t54;
      coeffs_dy->coeff_m1_0 = (-t53+x)*y;
      coeffs_dy->coeff_0_0 = (RATIONAL(-2.0,1.0)+RATIONAL(2.0,1.0)*t53)*y;
      coeffs_dy->coeff_p1_0 = (-t53-x)*y;
      coeffs_dy->coeff_m1_p1 = t46+t43+t54;
      coeffs_dy->coeff_0_p1 = t50+y+(-y+t49)*t53;
      coeffs_dy->coeff_p1_p1 = t46+t44+t55;