aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/2d.coeffs/2d.cube.size3/interp-dx.compute.c
diff options
context:
space:
mode:
authorjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2002-02-27 14:28:36 +0000
committerjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2002-02-27 14:28:36 +0000
commit717d39a68230908f36b7098e66d0dd76dd067148 (patch)
tree397cda867657459ef518b65cd87def3517958253 /src/GeneralizedPolynomial-Uniform/2d.coeffs/2d.cube.size3/interp-dx.compute.c
parentac713b27a07fa17689464ac2e9e7275169f116ea (diff)
initial checkin of new LocalInterp thorn
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@2 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/2d.coeffs/2d.cube.size3/interp-dx.compute.c')
-rw-r--r--src/GeneralizedPolynomial-Uniform/2d.coeffs/2d.cube.size3/interp-dx.compute.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/2d.coeffs/2d.cube.size3/interp-dx.compute.c b/src/GeneralizedPolynomial-Uniform/2d.coeffs/2d.cube.size3/interp-dx.compute.c
new file mode 100644
index 0000000..f7d5f3a
--- /dev/null
+++ b/src/GeneralizedPolynomial-Uniform/2d.coeffs/2d.cube.size3/interp-dx.compute.c
@@ -0,0 +1,10 @@
+result =
+ coeff_dx_m1_m1*data_m1_m1
+ + coeff_dx_0_m1*data_0_m1
+ + coeff_dx_p1_m1*data_p1_m1
+ + coeff_dx_m1_0*data_m1_0
+ + coeff_dx_0_0*data_0_0
+ + coeff_dx_p1_0*data_p1_0
+ + coeff_dx_m1_p1*data_m1_p1
+ + coeff_dx_0_p1*data_0_p1
+ + coeff_dx_p1_p1*data_p1_p1;