From fa68cfea73dbdee785e3f130464c2f70bddeccee Mon Sep 17 00:00:00 2001 From: tradke Date: Fri, 1 Sep 2006 17:14:55 +0000 Subject: Multiple thorns providing the same aliased function can be compiled into the same configuration but only one such thorn may then be activated. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4372 17b73243-c579-4c4c-a9d2-2d5706c11dac --- doc/UsersGuide/ThornWriters.tex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/UsersGuide/ThornWriters.tex') diff --git a/doc/UsersGuide/ThornWriters.tex b/doc/UsersGuide/ThornWriters.tex index bc56a993..4a899d0f 100644 --- a/doc/UsersGuide/ThornWriters.tex +++ b/doc/UsersGuide/ThornWriters.tex @@ -4212,7 +4212,9 @@ CCTK_REAL FUNCTION SumStuff(CCTK_REAL IN x, CCTK_REAL IN y) PROVIDES FUNCTION SumStuff WITH AddItUp LANGUAGE C \end{verbatim} The appropriate function must then be provided somewhere in this -thorn. +thorn. Multiple thorns providing the same function can be compiled into the +same configuration; however only one providing thorn may be activated at +runtime otherwise an error message is printed and the run is aborted. It is necessary to specify the language of the providing function; no default will be assumed. @@ -4365,6 +4367,7 @@ Data Type & Size (bytes) & Variable Type & Fortran Equivalent\\ {\t CCTK\_COMPLEX8} & 8 & {\t CCTK\_VARIABLE\_COMPLEX8} & {\t complex*8}\\ {\t CCTK\_COMPLEX16} & 16 & {\t CCTK\_VARIABLE\_COMPLEX16} & {\t complex*16}\\ {\t CCTK\_COMPLEX32} & 32 & {\t CCTK\_VARIABLE\_COMPLEX32} & {\t complex*32}\\ +\hline \end{tabular} \end{center} -- cgit v1.2.3