summaryrefslogtreecommitdiff
path: root/doc/UsersGuide/ThornWriters.tex
diff options
context:
space:
mode:
authorjthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-06-22 15:35:12 +0000
committerjthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-06-22 15:35:12 +0000
commit89ac6fa7e2811a18c949a5420f0de9afe584ae0a (patch)
tree8f5b0b48d9fa0eeecfe2ce7c8eff9502c5b2728e /doc/UsersGuide/ThornWriters.tex
parent159cc83b38e6cf74f4cd53820791a098f330ed71 (diff)
+= INOUT intent for aliaed-function arguments, as per
http://www.cactuscode.org/old/pipermail/developers/2006-June/002882.html and following discussion git-svn-id: http://svn.cactuscode.org/flesh/trunk@4323 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/UsersGuide/ThornWriters.tex')
-rw-r--r--doc/UsersGuide/ThornWriters.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/UsersGuide/ThornWriters.tex b/doc/UsersGuide/ThornWriters.tex
index ca912af9..b75efb78 100644
--- a/doc/UsersGuide/ThornWriters.tex
+++ b/doc/UsersGuide/ThornWriters.tex
@@ -4190,12 +4190,12 @@ includes the \texttt{cctk.h} header file.
In a Fortran file, the declaration of the function will be included
in the \texttt{DECLARE\_CCTK\_FUNCTIONS} macro, which is available after
the statement \texttt{\#include "cctk\_Functions.h"}.
-The keywords \texttt{IN} and \texttt{OUT}
+The keywords \texttt{IN}, \texttt{OUT}, and \texttt{INOUT}
work in the same fashion as \texttt{INTENT} statements in Fortran 90.
That is, the C prototype will expect an argument with intent \texttt{IN}
-to be a value and one with intent \texttt{OUT} to be a pointer. There
-also exists the \texttt{ARRAY} keyword for passing arrays of any
-dimension.
+to be a value and one with intent \texttt{OUT} or \texttt{INOUT} to be a
+pointer. There also exists the \texttt{ARRAY} keyword for passing arrays
+of any dimension.
Functions which are required by some thorn (which doesn't provide it itself)
are checked at startup to be provided by some other thorn.