From 15c98b3abee2525b24ca89932256ff2cda63c9bc Mon Sep 17 00:00:00 2001 From: jthorn Date: Sun, 18 Aug 2002 15:12:49 +0000 Subject: This commit reorganizes the Maple scripts which generate the interpolation coefficients, and the coefficient files themselves, to properly support multiple interpolation operators, and adds some skeleton support for Hermite interpolation. I will add full support for Hermite in a future checkin. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@81 df1f8a13-aa1d-4dd4-9681-27ded5b42416 --- .../2d.coeffs/2d.cube.order1.smooth0/coeff-I.compute.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeff-I.compute.c (limited to 'src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeff-I.compute.c') diff --git a/src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeff-I.compute.c b/src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeff-I.compute.c new file mode 100644 index 0000000..221b33b --- /dev/null +++ b/src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeff-I.compute.c @@ -0,0 +1,18 @@ +fp t7, + t6, + t5, + t4, + t3, + t2, + 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; + coeff_I_0_0 = RATIONAL(3.0,4.0)+t4+t3; + coeff_I_p1_0 = t6+t4+t2; + coeff_I_0_p1 = t3+t6+t1; + coeff_I_p1_p1 = t1+RATIONAL(-1.0,4.0)+t2; -- cgit v1.2.3