diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-05 11:16:26 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-05 11:16:26 +0000 |
commit | 97b097c367315321248c5833140d28599f28cfc6 (patch) | |
tree | 30d4268eb9fdbd6a3006c3795c5c898a8f39d3d5 /doc/UsersGuide/Infrastructure.tex | |
parent | 41a466f5d0bcfd55b36b2a84871992dbdd8d8c9b (diff) |
Some new stuff tidying up compiling
git-svn-id: http://svn.cactuscode.org/flesh/trunk@658 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/UsersGuide/Infrastructure.tex')
-rw-r--r-- | doc/UsersGuide/Infrastructure.tex | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/doc/UsersGuide/Infrastructure.tex b/doc/UsersGuide/Infrastructure.tex index cf236421..5c0d7362 100644 --- a/doc/UsersGuide/Infrastructure.tex +++ b/doc/UsersGuide/Infrastructure.tex @@ -74,6 +74,10 @@ \end{itemize} \end{enumerate} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \begin{CCTKroutine} \CCTKname{CCTK\_EnableGroupStorage} @@ -81,7 +85,7 @@ \end{CCTKroutine} \begin{CCTKsyn} -\hfill {\bf C} && int storage = {\t CCTK\_EnableGroupStorage( cGH *GH, const char *group )}\\ +\hfill {\bf C} && {\t int storage = CCTK\_EnableGroupStorage( cGH *GH, const char *group )}\\ \hfill {\bf Fortran} && {\t call CCTK\_EnableGroupStorage( storage, GH, group ) }\\ && CCTK\_POINTER GH \\ @@ -126,6 +130,43 @@ This routine is overloadable in the flesh, and must be provided by a thorn && {\bf FIXME} here will be stuff like can return CCTK\_ERROR\_STORAGEERROR \end{tabular} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +\begin{CCTKroutine} +\CCTKname{CCTK\_RegisterReductionOperator} +\CCTKdesc{Registers a function as providing a CCTK reduction operator with a given name} +\end{CCTKroutine} + +\begin{CCTKsyn} +\hfill {\bf C} && {\t int handle = CCTK\_RegisterReductionOperator(void (*function)(cGH *, int, int, int, void *, int, int *), const char *name)} +\\ +\hfill {\bf Fortran} && Not available. Use a C wrapper function. +\end{CCTKsyn} + +\begin{CCTKpar} +\hfill {\t handle}&-&integer returning the handle for the function or an error code. +\\ +\hfill {\t function}&-&pointer to the reduction operator. +\\ +\hfill {\t name}&-&the name with which the reduction operator should be called. +\end{CCTKpar} + +\noindent +\begin{tabular}{p{14cm}} +\\ +{\bf Discussion} \hfill +\\ +\end{tabular} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + \section{Group and Variable Utility Routines} The CCTK provides a number of utility routines for dealing |