diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-12-10 19:37:23 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-12-10 19:37:23 +0000 |
commit | d858a94c870da57da425809e7483509ab3f28319 (patch) | |
tree | fa33abb9d45e0b0f58461db9f8430c2b04b96493 | |
parent | 1f189bbcd9978ea9c19d30879b4469cc4637464e (diff) |
Making it clear that group and variable names all have to be unique within the scope of a thorn, unless the group only contains a single element, in which case there can be no confusion.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3036 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | doc/UsersGuide/Appendices.tex | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/UsersGuide/Appendices.tex b/doc/UsersGuide/Appendices.tex index dc93fdc0..698c8aaa 100644 --- a/doc/UsersGuide/Appendices.tex +++ b/doc/UsersGuide/Appendices.tex @@ -199,7 +199,7 @@ carriage return. group. Supported data types are {\t INT}, {\t CHAR}, {\t REAL} and {\t COMPLEX}. \item{} {\t group\_name} must be an alpha-numeric name (which may also -contain underscores) which is unique +contain underscores) which is unique across group and variable names within the scope of the thorn. A group name is compulsory. \item{} {\t [number]}, if present, indicates that this is a {\bf vector} group. Such a group does not have named variables (so the \{\} block @@ -234,12 +234,13 @@ optional, with the default variable type being {\t SCALAR}. \item{} The (optional) block following the group declaration line contains a list of variables contained in the group. All variables in a group have the same data type, variable type, dimension and -distrubution. The list +distribution. The list can be separated by spaces, commas, or new lines. The variable names must be unique within the scope of the thorn. A variable can only be a member of one group. The block must be delimited by brackets on new lines. If no block is given after a group declaration line, a -variable with the same name as the group is created. +variable with the same name as the group is created. Apart from this case, +a group name cannot be the same as the name of any variable seen by this thorn. \item{} An optional description of the group can be given on the last line, at the moment this description is not used for any purpose. (Note that the variable block is required if you want to give a group description.) |