summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-08-21 12:32:54 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-08-21 12:32:54 +0000
commitc903ebb145f8674a60598250cbc445918db90873 (patch)
tree7d1e10112a25e6301bdcdfe52b376533a39858c9
parent4186f68dc89bec8d030fc64e01a4836a96bdc33e (diff)
Correct error in explanation of cctk_origin_space.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4111 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r--doc/UsersGuide/ThornWriters.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/UsersGuide/ThornWriters.tex b/doc/UsersGuide/ThornWriters.tex
index cdda11ee..2a8ebba6 100644
--- a/doc/UsersGuide/ThornWriters.tex
+++ b/doc/UsersGuide/ThornWriters.tex
@@ -1866,9 +1866,11 @@ CCTK\_REAL}s with the grid spacing in each direction.
\item [\texttt{cctk\_origin\_space}] An array of \texttt{cctk\_dim} {\tt
CCTK\_REAL}s with the spatial coordinates of the global origin
of the grid. The coordinates of the $i$th local grid point in
- the $x$ direction can e.g.\ in C be calculated by \texttt{x =
- CCTK\_ORIGIN\_SPACE(0) + (cctk\_lsh[0] + i) *
- CCTK\_DELTA\_SPACE(0)}.
+ the $x$ direction can in C be calculated by \texttt{x =
+ CCTK\_ORIGIN\_SPACE(0) + (cctk\_lbnd[0] + i) *
+ CCTK\_DELTA\_SPACE(0)}, and in Fortran by \texttt{x =
+ CCTK\_ORIGIN\_SPACE(1) + (cctk\_lbnd(1) + i - 1) *
+ CCTK\_DELTA\_SPACE(1)}.
\item [\texttt{cctk\_lssh}] This is an internal array used to hold
array extents for staggering. One should use the macro CCTK\_LSSH(,)
to access its elements.