summaryrefslogtreecommitdiff
path: root/doc/UsersGuide/Appendices.tex
diff options
context:
space:
mode:
authoreschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-12-12 02:53:50 +0000
committereschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2011-12-12 02:53:50 +0000
commit35c85a91626352d648e60837e211238d3cc173a4 (patch)
tree04e668806db6914e5aab5a44d150c6e72fcb76e2 /doc/UsersGuide/Appendices.tex
parent09ebaa25d4c4318a4e7d0b4d8b248203202c7b48 (diff)
Allow zero timelevels in STORAGE timelevels
This allows to simply set timelevels=0 to turn off storage without having to put an "if (do_something timelevels > 0)" into schedule.ccl files. It is also the only way to turn off storage inside of a GROUP of SCHEDULE statement based on a condition (other than scheduling the item twice, once with STORAGE, once without). git-svn-id: http://svn.cactuscode.org/flesh/trunk@4774 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/UsersGuide/Appendices.tex')
-rw-r--r--doc/UsersGuide/Appendices.tex8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/UsersGuide/Appendices.tex b/doc/UsersGuide/Appendices.tex
index 9520fdd8..d61264fe 100644
--- a/doc/UsersGuide/Appendices.tex
+++ b/doc/UsersGuide/Appendices.tex
@@ -840,7 +840,9 @@ file. If the maximum number of timelevels is 1 (the default), this
number may be omitted. Alternatively \var{timelevels} can be the name of a
parameter accessible to the thorn. The parameter name is the same as used in C
routines of the thorn, fully qualified parameter names of the form
-\texttt{\var{thorn}::\var{parameter}} are not allowed.
+\texttt{\var{thorn}::\var{parameter}} are not allowed. In this case 0 (zero)
+\var{timelevels} can be requested, which is equivalent to the {\tt STORAGE}
+statement being absent.
The behaviour of an assignment statement is independent of its
position in the schedule file (so long as it is outside a schedule
@@ -919,7 +921,9 @@ schedule [GROUP] <\var{function name}|\var{group name}> AT|IN <\var{time}> \verb
this number may be omitted. Alternatively \var{timelevels} can be the
name of a parameter accessible to the thorn. The parameter name is the
same as used in C routines of the thorn, fully qualified parameter names
- of the form \texttt{\var{thorn}::\var{parameter}} are not allowed.
+ of the form \texttt{\var{thorn}::\var{parameter}} are not allowed. In this
+ case 0 (zero) \var{timelevels} can be requested, which is equivalent to
+ the {\tt STORAGE} statement being absent.
\item[{\tt TRIGGER}] List of grid variables or groups to be used as
triggers for causing an {\tt ANALYSIS} function or group to be