summaryrefslogtreecommitdiff
path: root/doc/UsersGuide/ThornWriters.tex
diff options
context:
space:
mode:
authorjthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-01-19 10:16:16 +0000
committerjthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-01-19 10:16:16 +0000
commitb7030f6d4535a9b6c1f5766600456e0bd4ea8464 (patch)
treecc86306c3e86a1194699e7a4e8b58cbae9bc69c4 /doc/UsersGuide/ThornWriters.tex
parent114f2299e3f3f0b9031b00a1bcbb010659162223 (diff)
tweak how-to-compute-global-xyz-coords example
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4236 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/UsersGuide/ThornWriters.tex')
-rw-r--r--doc/UsersGuide/ThornWriters.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/UsersGuide/ThornWriters.tex b/doc/UsersGuide/ThornWriters.tex
index 98cec091..83460b3e 100644
--- a/doc/UsersGuide/ThornWriters.tex
+++ b/doc/UsersGuide/ThornWriters.tex
@@ -1972,9 +1972,9 @@ int i,j,k;
/* an alternate calculation, which requires that this thorn inherit from Grid */
/* (in a multipatch/multiblock context, this gives the true global xyz coordinates) */
- const CCTK_REAL xcoord2 = /* Grid:: */ x[posn];
- const CCTK_REAL ycoord2 = /* Grid:: */ y[posn];
- const CCTK_REAL zcoord2 = /* Grid:: */ z[posn];
+ const CCTK_REAL xxcoord = /* Grid:: */ x[posn];
+ const CCTK_REAL yycoord = /* Grid:: */ y[posn];
+ const CCTK_REAL zzcoord = /* Grid:: */ z[posn];
}
}
}