summaryrefslogtreecommitdiff
path: root/doc/UsersGuide/Appendices.tex
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-01-03 12:10:47 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-01-03 12:10:47 +0000
commit0f834a71d96af77c74521a85a9170cbfcac4c095 (patch)
tree571ce6afccd84b3e3e225891c7293960be17628c /doc/UsersGuide/Appendices.tex
parent25c9cf5314ca37719e2f021860797b504098d94f (diff)
Describe the schedule group CCTK_RECOVER_PARAMETERS correctly; as it
is special. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4217 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/UsersGuide/Appendices.tex')
-rw-r--r--doc/UsersGuide/Appendices.tex14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/UsersGuide/Appendices.tex b/doc/UsersGuide/Appendices.tex
index 2001d852..a69bd903 100644
--- a/doc/UsersGuide/Appendices.tex
+++ b/doc/UsersGuide/Appendices.tex
@@ -1175,8 +1175,9 @@ end
\end{Lentry}
Exceptions are the functions that are scheduled in the bins {\tt
-CCTK\_STARTUP} and {\tt CCTK\_SHUTDOWN}. They do not take arguments,
-but they return an error indicator. They must be declared as
+CCTK\_STARTUP}, {\tt CCTK\_RECOVER\_PARAMETERS}, and {\tt
+CCTK\_SHUTDOWN}. They do not take arguments,
+and they return an integer. They must be declared as
\begin{Lentry}
\item[In C:]
@@ -1196,8 +1197,12 @@ end
\end{verbatim}
\end{Lentry}
-The return value is unused, and might in the future be used to
-indicate whether an error occurred. You should return 0.
+The return value in {\tt CCTK\_STARTUP} and {\tt CCTK\_SHUTDOWN} is
+unused, and might in the future be used to indicate whether an error
+occurred. You should return 0. The return value in {\tt
+ CCTK\_RECOVER\_PARAMETERS} should be zero, positive, or negative,
+indicating that no parameters were recovered, that parameters were
+recovered successfully, or that an error occurred, respectively.
@@ -1213,6 +1218,7 @@ indicate whether an error occurred. You should return 0.
\item[{\tt CCTK\_RECOVER\_PARAMETERS}]
Used by thorns with relevant IO methods as the point
to read parameters when recovering from checkpoint files.
+ Grid variables are not available in this timebin.
\item[{\tt CCTK\_WRAGH}]
This timebin is executed when all parameters are known, but