diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/UsersGuide/Appendices.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/UsersGuide/Appendices.tex b/doc/UsersGuide/Appendices.tex index a9995888..f95abc8a 100644 --- a/doc/UsersGuide/Appendices.tex +++ b/doc/UsersGuide/Appendices.tex @@ -1027,12 +1027,14 @@ constructs using the parameter data base. These can be nested, and have the general form: \begin{alltt} -if (CCTK_Equals(<\var{parameter}>,<\var{string}>)) +if (<\var{conditional-expression}>) \{ [<\var{assignments}>] [<\var{schedule blocks}>] \}\end{alltt} +<\var{conditional-expression}> can be any valid C construct evaluating +to a truth value. Such conditionals are evaluated only at program startup, and are used to pick between different static schedule options. For dynamic scheduling, the {\tt SCHEDULE WHILE} construction should be used. |