aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-03-06 10:27:02 +0000
committerrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-03-06 10:27:02 +0000
commit8b6e583d1039779efdcb5d59aeb4bb6ce38a2cbf (patch)
tree90a697fe00d070613809880faf464fb35488a77f /doc
parentcdf2f1aedf4cc666081ca06badb59098770e77f0 (diff)
Update for new function aliasing interface.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@211 6a38eb6e-646e-4a02-a296-d141613ad6c4
Diffstat (limited to 'doc')
-rw-r--r--doc/documentation.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex
index fd758f3..58260b6 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -115,7 +115,7 @@ selected for a boundary condition (see appendix \ref{apx:symmetry}).
To register a routine to provide some physical boundary condition, use
\begin{verbatim}
Boundary_RegisterPhysicalBC(CCTK_POINTER cctkGH,
- CCTK_FPOINTER function_pointer,
+ phys_bc_fn_ptr function_pointer,
CCTK_STRING bc_name)
\end{verbatim}
where
@@ -128,9 +128,10 @@ boundary condition\\
\end{tabbing}
The function pointer takes arguments
\begin{verbatim}
-(const cGH *cctkGH, int num_vars, int *var_indices, int *faces, int *table_handles)
+(CCTK_POINTER cctkGH, CCTK_INT num_vars, CCTK_INT *var_indices,
+ CCTK_INT *faces, CCTK_INT *table_handles)
\end{verbatim}
-where
+(this defines the type \texttt{phys\_bc\_fn\_ptr}, above) where
\begin{tabbing}
long argument name\= description\=\kill
\texttt{cctkGH} \> pointer to the grid hierarchy\\