From 80df27de110b6e739fda09ba4d9eae9fdbefc342 Mon Sep 17 00:00:00 2001 From: jthorn Date: Mon, 2 Sep 2002 10:36:32 +0000 Subject: 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 --- .../Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeffs-dx.compute.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeffs-dx.compute.c (limited to 'src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeffs-dx.compute.c') diff --git a/src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeffs-dx.compute.c b/src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeffs-dx.compute.c new file mode 100644 index 0000000..cf806b2 --- /dev/null +++ b/src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeffs-dx.compute.c @@ -0,0 +1,8 @@ +fp t9; +fp t8; + t9 = RATIONAL(-1.0,2.0); + t8 = RATIONAL(1.0,2.0); + coeffs_dx->coeff_0_0 = t9; + coeffs_dx->coeff_p1_0 = t8; + coeffs_dx->coeff_0_p1 = t9; + coeffs_dx->coeff_p1_p1 = t8; -- cgit v1.2.3