From f66e9bbb167e3e3e98b0647e30fa22139d6f28f0 Mon Sep 17 00:00:00 2001 From: jthorn Date: Sun, 1 Sep 2002 18:10:41 +0000 Subject: 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 --- .../common/2d.cube.size3/fetch-data.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/GeneralizedPolynomial-Uniform/common/2d.cube.size3/fetch-data.c (limited to 'src/GeneralizedPolynomial-Uniform/common/2d.cube.size3/fetch-data.c') diff --git a/src/GeneralizedPolynomial-Uniform/common/2d.cube.size3/fetch-data.c b/src/GeneralizedPolynomial-Uniform/common/2d.cube.size3/fetch-data.c new file mode 100644 index 0000000..62725c2 --- /dev/null +++ b/src/GeneralizedPolynomial-Uniform/common/2d.cube.size3/fetch-data.c @@ -0,0 +1,9 @@ +data->data_m1_m1 = DATA(-1,-1); +data->data_0_m1 = DATA(0,-1); +data->data_p1_m1 = DATA(1,-1); +data->data_m1_0 = DATA(-1,0); +data->data_0_0 = DATA(0,0); +data->data_p1_0 = DATA(1,0); +data->data_m1_p1 = DATA(-1,1); +data->data_0_p1 = DATA(0,1); +data->data_p1_p1 = DATA(1,1); -- cgit v1.2.3