aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/Lagrange-maximum-degree/2d.coeffs/2d.cube.order1.smooth0/coeffs-I.compute.c
diff options
context:
space:
mode:
authorjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2003-04-15 17:12:59 +0000
committerjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2003-04-15 17:12:59 +0000
commit96309eb56861333d6e3111c5a3cb54c9426a1d61 (patch)
tree4ce9825883ea56e3a4f16bd910974de4a4c48044 /src/GeneralizedPolynomial-Uniform/Lagrange-maximum-degree/2d.coeffs/2d.cube.order1.smooth0/coeffs-I.compute.c
parent5a8da73fce7752d0e3ee52fe8fb1149009b3305c (diff)
new machine-generated coefficient files for this interpolator
(with Lagrange now split into tensor-product and maximum-degree interpolators) git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@144 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/Lagrange-maximum-degree/2d.coeffs/2d.cube.order1.smooth0/coeffs-I.compute.c')
-rw-r--r--src/GeneralizedPolynomial-Uniform/Lagrange-maximum-degree/2d.coeffs/2d.cube.order1.smooth0/coeffs-I.compute.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/Lagrange-maximum-degree/2d.coeffs/2d.cube.order1.smooth0/coeffs-I.compute.c b/src/GeneralizedPolynomial-Uniform/Lagrange-maximum-degree/2d.coeffs/2d.cube.order1.smooth0/coeffs-I.compute.c
new file mode 100644
index 0000000..cda1593
--- /dev/null
+++ b/src/GeneralizedPolynomial-Uniform/Lagrange-maximum-degree/2d.coeffs/2d.cube.order1.smooth0/coeffs-I.compute.c
@@ -0,0 +1,18 @@
+fp t7;
+fp t6;
+fp t5;
+fp t4;
+fp t3;
+fp t2;
+fp t1;
+ t7 = RATIONAL(-1.0,2.0);
+ t6 = RATIONAL(1.0,4.0);
+ t5 = RATIONAL(1.0,2.0);
+ t4 = t7*y;
+ t3 = t7*x;
+ t2 = t5*x;
+ t1 = t5*y;
+ coeffs_I->coeff_0_0 = RATIONAL(3.0,4.0)+t4+t3;
+ coeffs_I->coeff_p1_0 = t6+t4+t2;
+ coeffs_I->coeff_0_p1 = t3+t6+t1;
+ coeffs_I->coeff_p1_p1 = t1+RATIONAL(-1.0,4.0)+t2;