aboutsummaryrefslogtreecommitdiff
path: root/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dx.compute.c
blob: 6ecb7d163c6eacddf4fa3871a5005619dad3bdb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
fp t11;
fp t9;
fp t12;
fp t10;
      t11 = y*z;
      t9 = -t11+z;
      t12 = y+t9;
      t10 = -t11+y;
      coeffs_dx->coeff_0_0_0 = RATIONAL(-1.0,1.0)+t12;
      coeffs_dx->coeff_p1_0_0 = RATIONAL(1.0,1.0)-t12;
      coeffs_dx->coeff_0_p1_0 = -t10;
      coeffs_dx->coeff_p1_p1_0 = t10;
      coeffs_dx->coeff_0_0_p1 = -t9;
      coeffs_dx->coeff_p1_0_p1 = t9;
      coeffs_dx->coeff_0_p1_p1 = -t11;
      coeffs_dx->coeff_p1_p1_p1 = t11;