diff options
Diffstat (limited to 'src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0')
4 files changed, 41 insertions, 41 deletions
diff --git a/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-I.compute.c b/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-I.compute.c index c6a4b9c..a3240fa 100644 --- a/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-I.compute.c +++ b/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-I.compute.c @@ -1,22 +1,22 @@ fp t2; fp t8; fp t1; -fp t3; fp t7; fp t6; +fp t4; fp t5; - t2 = x*y; - t8 = -y+t2; - t1 = z*t2; - t3 = x*z; - t7 = t1-t3; - t6 = t1-y*z; - t5 = -t3+z+t6; - coeffs_I->coeff_0_0_0 = RATIONAL(1.0,1.0)-x-t5+t8; - coeffs_I->coeff_p1_0_0 = x-t2+t7; - coeffs_I->coeff_0_p1_0 = t6-t8; - coeffs_I->coeff_p1_p1_0 = -t1+t2; - coeffs_I->coeff_0_0_p1 = t5; - coeffs_I->coeff_p1_0_p1 = -t7; - coeffs_I->coeff_0_p1_p1 = -t6; + t2 = y*z; + t8 = z-t2; + t1 = x*t2; + t7 = t2-t1; + t6 = x*z-t1; + t4 = x*y; + t5 = x-t4-t6; + coeffs_I->coeff_0_0_0 = RATIONAL(1.0,1.0)-y-t5-t8; + coeffs_I->coeff_p1_0_0 = t5; + coeffs_I->coeff_0_p1_0 = y-t4-t7; + coeffs_I->coeff_p1_p1_0 = -t1+t4; + coeffs_I->coeff_0_0_p1 = -t6+t8; + coeffs_I->coeff_p1_0_p1 = t6; + coeffs_I->coeff_0_p1_p1 = t7; coeffs_I->coeff_p1_p1_p1 = t1; diff --git a/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dx.compute.c b/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dx.compute.c index 6ecb7d1..12f3a4f 100644 --- a/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dx.compute.c +++ b/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dx.compute.c @@ -3,14 +3,14 @@ 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; + 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; diff --git a/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dy.compute.c b/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dy.compute.c index 4830830..41cf736 100644 --- a/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dy.compute.c +++ b/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dy.compute.c @@ -1,16 +1,16 @@ fp t15; -fp t14; -fp t16; fp t13; +fp t16; +fp t14; t15 = x*z; - t14 = -t15+x; - t16 = z+t14; - t13 = -t15+z; + t13 = t15-z; + t16 = x-t13; + t14 = t15-x; coeffs_dy->coeff_0_0_0 = RATIONAL(-1.0,1.0)+t16; - coeffs_dy->coeff_p1_0_0 = -t14; + coeffs_dy->coeff_p1_0_0 = t14; coeffs_dy->coeff_0_p1_0 = RATIONAL(1.0,1.0)-t16; - coeffs_dy->coeff_p1_p1_0 = t14; - coeffs_dy->coeff_0_0_p1 = -t13; + coeffs_dy->coeff_p1_p1_0 = -t14; + coeffs_dy->coeff_0_0_p1 = t13; coeffs_dy->coeff_p1_0_p1 = -t15; - coeffs_dy->coeff_0_p1_p1 = t13; + coeffs_dy->coeff_0_p1_p1 = -t13; coeffs_dy->coeff_p1_p1_p1 = t15; diff --git a/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dz.compute.c b/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dz.compute.c index 6dc2843..65591f4 100644 --- a/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dz.compute.c +++ b/src/Lagrange-tensor-product/3d.coeffs/3d.cube.order1.smooth0/coeffs-dz.compute.c @@ -2,15 +2,15 @@ fp t19; fp t17; fp t20; fp t18; - t19 = y*x; - t17 = -t19+y; - t20 = x+t17; - t18 = x-t19; + t19 = x*y; + t17 = t19-y; + t20 = x-t17; + t18 = t19-x; coeffs_dz->coeff_0_0_0 = RATIONAL(-1.0,1.0)+t20; - coeffs_dz->coeff_p1_0_0 = -t18; - coeffs_dz->coeff_0_p1_0 = -t17; + coeffs_dz->coeff_p1_0_0 = t18; + coeffs_dz->coeff_0_p1_0 = t17; coeffs_dz->coeff_p1_p1_0 = -t19; coeffs_dz->coeff_0_0_p1 = RATIONAL(1.0,1.0)-t20; - coeffs_dz->coeff_p1_0_p1 = t18; - coeffs_dz->coeff_0_p1_p1 = t17; + coeffs_dz->coeff_p1_0_p1 = -t18; + coeffs_dz->coeff_0_p1_p1 = -t17; coeffs_dz->coeff_p1_p1_p1 = t19; |