summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/UsersGuide/ThornWriters.tex14
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}: