summaryrefslogtreecommitdiff
path: root/doc/ReferenceManual
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-04-19 19:24:27 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-04-19 19:24:27 +0000
commit563a35de34bc73773027c166971c6f7bd60c9a4d (patch)
treeefc32b6ec7c25d2628c671002495a160e5e895ac /doc/ReferenceManual
parenteea8895e8b6d912f867bf55c934afafc5e65f371 (diff)
Document CCTK_TerminateNext().
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4029 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/ReferenceManual')
-rw-r--r--doc/ReferenceManual/CCTKReference.tex40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/ReferenceManual/CCTKReference.tex b/doc/ReferenceManual/CCTKReference.tex
index f03f2498..54db9cb4 100644
--- a/doc/ReferenceManual/CCTKReference.tex
+++ b/doc/ReferenceManual/CCTKReference.tex
@@ -662,6 +662,9 @@ from Fortran.
\item[\code{CCTK\_SyncGroup}] [\pageref{CCTK-SyncGroup}]
Synchronize the ghost zones for a group of variables
+\item[\code{CCTK\_TerminateNext}] [\pageref{CCTK-TerminateNext}]
+ Flags a Cactus simulation to terminate after the next iteration
+
\item[\code{CCTK\_ThornImplementation}]
[\pageref{CCTK-ThornImplementation}]
Returns the implementation provided by the thorn
@@ -8612,6 +8615,43 @@ the preferred method from synchronising variables.
% TTT
%%%%%
+\begin{FunctionDescription}{CCTK\_TerminateNext}
+\label{CCTK-TerminateNext}
+Flags a Cactus simulation to terminate after the next iteration
+
+\begin{SynopsisSection}
+\begin{Synopsis}{C}
+\begin{verbatim}
+#include "cctk.h"
+
+void CCTK_TerminateNext (const cGH *cctkGH)
+\end{verbatim}
+\end{Synopsis}
+\begin{Synopsis}{Fortran}
+\begin{verbatim}
+#include "cctk.h"
+
+call CCTK_TerminateNext (cctkGH)
+CCTK_POINTER_TO_CONST cctkGH
+\end{verbatim}
+\end{Synopsis}
+\end{SynopsisSection}
+
+\begin{ParameterSection}
+\begin{Parameter}{cctkGH ($\ne$ NULL)}
+Pointer to a valid Cactus grid hierarchy.
+\end{Parameter}
+\end{ParameterSection}
+
+\begin{Discussion}
+This function triggers unconditional termination of Cactus after the next iteration.
+It bypasses all other termination conditions specified in the
+{\t Cactus::terminate} keyword parameter.
+\end{Discussion}
+
+\end{FunctionDescription}
+
+
% cctk_ActiveThorns.c
\begin{FunctionDescription}{CCTK\_ThornImplementation}
\label{CCTK-ThornImplementation}