diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-02-05 15:55:35 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-02-05 15:55:35 +0000 |
commit | 6aa34e898e4a7c3a5ac6c31f74674e55dd4b0564 (patch) | |
tree | feac202326cb2fb617960dfcca58e674f22d78aa /doc/UsersGuide/ThornWriters.tex | |
parent | 876c099af10edaad749727fdba7e26b0b8190a14 (diff) |
An example for arrays
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1368 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/UsersGuide/ThornWriters.tex')
-rw-r--r-- | doc/UsersGuide/ThornWriters.tex | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/UsersGuide/ThornWriters.tex b/doc/UsersGuide/ThornWriters.tex index f366de30..4cd25434 100644 --- a/doc/UsersGuide/ThornWriters.tex +++ b/doc/UsersGuide/ThornWriters.tex @@ -265,7 +265,8 @@ a comma or newline separated list of variables in the group. A description of the group may be included on the line with the closing brace. -For example +For example, for a group of 5 grid functions on a 3D grid, with 3 +timelevels: \begin{verbatim} @@ -276,6 +277,17 @@ REAL fields type=GF TimeLevels=3 Dim=3 stagger=MCM } "Wave fields" \end{verbatim} +or, for a group consisting of just one 2D array of integers, +\begin{verbatim} +INT afields type=ARRAY size=xsize,ysize ghostsize=gxsize,gysize +{ + anarray +} "My 2D arrays" + +where {\tt xsize}, {\tt ysize}, {\tt gxsize}, {\tt gysize} are all +parameters defined in the thorns {\tt param.ccl}. + +\end{verbatim} defines a group of real grid functions of dimension 3 each of which exists on three time levels. The staggering of this group is of type {\tt MCM}: |