aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2002-03-06 10:53:17 +0000
committerjthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416>2002-03-06 10:53:17 +0000
commit9c8c1cb09e70214a9bbfbeaa0ed204b616901c11 (patch)
tree8d1082af681a4bab5d3a57eb9bcc26147daecdec /doc
parent36e9ad444040bdd233c9877a9784ca1135fe625d (diff)
fix another bug in the example program
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@11 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'doc')
-rw-r--r--doc/documentation.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex
index 9499788..1b7e833 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -915,10 +915,11 @@ const void *const interp_coords[N_DIMS]
#define NZ 50
/* input arrays */
+/* n.b. we use Fortran storage order: X is contiguous, Z least so */
#define N_INPUT_ARRAYS 6
-const CCTK_REAL gxx[NX][NY][NZ], gxy[NX][NY][NZ], gxz[NX][NY][NZ],
- gyy[NX][NY][NZ], gyz[NX][NY][NZ],
- gzz[NX][NY][NZ];
+const CCTK_REAL gxx[NZ][NY][NX], gxy[NZ][NY][NX], gxz[NZ][NY][NX],
+ gyy[NZ][NY][NX], gyz[NZ][NY][NX],
+ gzz[NZ][NY][NX];
const CCTK_INT input_array_dims[N_DIMS] = {NX, NY, NZ};
const CCTK_INT input_array_type_codes[N_INPUT_ARRAYS]