diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-01-12 18:46:03 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-01-12 18:46:03 +0000 |
commit | 3bf7ac25cfec567f4acc686e9ec6704a5bb44759 (patch) | |
tree | d5e77d81c8c4be9dccf5033cf068a4b17a616b7a /doc/UsersGuide/Appendices.tex | |
parent | 0292c7bbd0dedc523489eb2dbd81a0f79d7c8b85 (diff) |
Describe the "requires thorns" mechanism
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3502 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/UsersGuide/Appendices.tex')
-rw-r--r-- | doc/UsersGuide/Appendices.tex | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/doc/UsersGuide/Appendices.tex b/doc/UsersGuide/Appendices.tex index a53ab2ec..eef93d29 100644 --- a/doc/UsersGuide/Appendices.tex +++ b/doc/UsersGuide/Appendices.tex @@ -713,9 +713,23 @@ A configuration options file has the form: Requires Thorns: <list of thorns> \end{verbatim} -The \verb|Requires Thorns| configuration option has as its argument a case -sensitive, space-separated list of thorn names (without the name of the -arrangement they are located in). +The \verb|Requires Thorns| configuration option has as its argument a +case sensitive, space-separated list of thorn names (without the name +of the arrangement they are located in). This option allows this +thorn to access global variables or call routines from the listed +thorns. + +This option has the following results: The listed thorns must be +present in the \verb|ThornList| when the thorn is compiled, and they +must be activated whenever the requiring thorn is activated. They are +also guaranteed to be listed after this thorn when the linker is +called, so that variable references and function calls can be +resolved. + +Note: This option is reserved for special cases, such as when a third +party library is incorporated into Cactus. In order to share +variables, you should rather declare corresponding grid variables, and +in order to call routines, you should use rather function aliasing. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |