aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeffs-dxx.compute.c
diff options
context:
space:
mode:
authorjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2002-09-02 10:36:32 +0000
committerjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2002-09-02 10:36:32 +0000
commit80df27de110b6e739fda09ba4d9eae9fdbefc342 (patch)
tree3c17be6653cf3bd67a40fdf79f0821ff1afdd333 /src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeffs-dxx.compute.c
parent2248cabada859337c9945616de9a3d612d8f2199 (diff)
This is a major reworking of this interpolator.
The interpolation code in template.c is now split up into subfunctions (in common/, Lagrange/, and Hermite/), so it should now compile in finite cpu/memory even with optimization. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@115 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeffs-dxx.compute.c')
-rw-r--r--src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeffs-dxx.compute.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeffs-dxx.compute.c b/src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeffs-dxx.compute.c
new file mode 100644
index 0000000..19689e7
--- /dev/null
+++ b/src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeffs-dxx.compute.c
@@ -0,0 +1,5 @@
+fp t4;
+ t4 = RATIONAL(1.0,1.0);
+ coeffs_dxx->coeff_m1 = t4;
+ coeffs_dxx->coeff_0 = RATIONAL(-2.0,1.0);
+ coeffs_dxx->coeff_p1 = t4;