aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/common/2d.cube.size3/interp-I.compute.c
diff options
context:
space:
mode:
authorjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2002-08-18 15:05:50 +0000
committerjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2002-08-18 15:05:50 +0000
commit7be0a94bec4b4e89c433e5380fce2cf84e5e0681 (patch)
tree9d538be4e92709f55ca4d07a8b8f42fca1d04940 /src/GeneralizedPolynomial-Uniform/common/2d.cube.size3/interp-I.compute.c
parent36dedc21ced19dff3791de3c640eef34932cf6ec (diff)
new directory for files common to multiple interpolation operators
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@79 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/common/2d.cube.size3/interp-I.compute.c')
-rw-r--r--src/GeneralizedPolynomial-Uniform/common/2d.cube.size3/interp-I.compute.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/common/2d.cube.size3/interp-I.compute.c b/src/GeneralizedPolynomial-Uniform/common/2d.cube.size3/interp-I.compute.c
new file mode 100644
index 0000000..b9249fa
--- /dev/null
+++ b/src/GeneralizedPolynomial-Uniform/common/2d.cube.size3/interp-I.compute.c
@@ -0,0 +1,10 @@
+result =
+ coeff_I_m1_m1*data_m1_m1
+ + coeff_I_0_m1*data_0_m1
+ + coeff_I_p1_m1*data_p1_m1
+ + coeff_I_m1_0*data_m1_0
+ + coeff_I_0_0*data_0_0
+ + coeff_I_p1_0*data_p1_0
+ + coeff_I_m1_p1*data_m1_p1
+ + coeff_I_0_p1*data_0_p1
+ + coeff_I_p1_p1*data_p1_p1;