diff options
author | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2002-08-18 15:12:49 +0000 |
---|---|---|
committer | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2002-08-18 15:12:49 +0000 |
commit | 15c98b3abee2525b24ca89932256ff2cda63c9bc (patch) | |
tree | fba7c114f0b5e7ffdad3e60254fd0e8dd1e42f97 /src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeff-I.compute.c | |
parent | 7be0a94bec4b4e89c433e5380fce2cf84e5e0681 (diff) |
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
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeff-I.compute.c')
-rw-r--r-- | src/GeneralizedPolynomial-Uniform/Lagrange/2d.coeffs/2d.cube.order1.smooth0/coeff-I.compute.c | 18 |
1 files changed, 18 insertions, 0 deletions
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; |