aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/common/1d.cube.size4/fetch-data.c
diff options
context:
space:
mode:
authorjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2002-09-01 18:10:41 +0000
committerjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2002-09-01 18:10:41 +0000
commitf66e9bbb167e3e3e98b0647e30fa22139d6f28f0 (patch)
tree01b5d8d23679ef302f5df71c1a62fe1bb1b6628e /src/GeneralizedPolynomial-Uniform/common/1d.cube.size4/fetch-data.c
parent5ae03060c304e68a184efaf4d77a6d46d3bd24ce (diff)
reorganize common to Lagrange and Hermite interpolators
(i.e. code depending only on molecule size/shape) --> now there are separate *functions* rather than just code fragments --> ../template.c should hopefully compile in finite time..... git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@109 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/common/1d.cube.size4/fetch-data.c')
-rw-r--r--src/GeneralizedPolynomial-Uniform/common/1d.cube.size4/fetch-data.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/common/1d.cube.size4/fetch-data.c b/src/GeneralizedPolynomial-Uniform/common/1d.cube.size4/fetch-data.c
new file mode 100644
index 0000000..c38e68d
--- /dev/null
+++ b/src/GeneralizedPolynomial-Uniform/common/1d.cube.size4/fetch-data.c
@@ -0,0 +1,4 @@
+data->data_m1 = DATA(-1);
+data->data_0 = DATA(0);
+data->data_p1 = DATA(1);
+data->data_p2 = DATA(2);