aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/Lagrange-tensor-product/1d.coeffs/1d.cube.order4.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-tensor-product/1d.coeffs/1d.cube.order4.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-tensor-product/1d.coeffs/1d.cube.order4.smooth0/coeffs-I.compute.c')
-rw-r--r--src/GeneralizedPolynomial-Uniform/Lagrange-tensor-product/1d.coeffs/1d.cube.order4.smooth0/coeffs-I.compute.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/Lagrange-tensor-product/1d.coeffs/1d.cube.order4.smooth0/coeffs-I.compute.c b/src/GeneralizedPolynomial-Uniform/Lagrange-tensor-product/1d.coeffs/1d.cube.order4.smooth0/coeffs-I.compute.c
new file mode 100644
index 0000000..c30526f
--- /dev/null
+++ b/src/GeneralizedPolynomial-Uniform/Lagrange-tensor-product/1d.coeffs/1d.cube.order4.smooth0/coeffs-I.compute.c
@@ -0,0 +1,24 @@
+fp t25;
+fp t23;
+fp t29;
+fp t21;
+fp t22;
+fp t28;
+fp t24;
+fp t20;
+fp t19;
+ t25 = x*x;
+ t23 = t25*t25;
+ t29 = RATIONAL(1.0,24.0)*t23+RATIONAL(-1.0,24.0)*t25;
+ t21 = RATIONAL(-1.0,6.0);
+ t22 = RATIONAL(2.0,3.0);
+ t28 = t21*t23+t22*t25;
+ t24 = x*t25;
+ t20 = RATIONAL(1.0,12.0);
+ t19 = RATIONAL(-1.0,12.0);
+ coeffs_I->coeff_m2 = t20*x+t19*t24+t29;
+ coeffs_I->coeff_m1 = RATIONAL(-2.0,3.0)*x+RATIONAL(1.0,6.0)*t24+t28;
+ coeffs_I->coeff_0 = RATIONAL(-5.0,4.0)*t25+RATIONAL(1.0,1.0)+RATIONAL(1.0
+,4.0)*t23;
+ coeffs_I->coeff_p1 = t21*t24+t22*x+t28;
+ coeffs_I->coeff_p2 = t20*t24+t19*x+t29;