From 711ca2ec26fe5b4566762084c03e61b87825aedd Mon Sep 17 00:00:00 2001 From: rideout Date: Tue, 30 Jul 2002 14:48:36 +0000 Subject: Added documentation on how to call symmetry boundary conditions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@169 c78560ca-4b45-4335-b268-5f3340f3cb52 --- doc/documentation.tex | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/doc/documentation.tex b/doc/documentation.tex index 0b7496d..ac49bb0 100644 --- a/doc/documentation.tex +++ b/doc/documentation.tex @@ -290,6 +290,31 @@ sym[2] = one; SetCartSymVN(cctkGH, sym,"ADMBase::gxy"); \end{verbatim} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\subsection{Calling Symmetry Boundary Conditions} + +\verb|CartGrid3D| provides the following two routines to apply symmetry +boundary conditions to a variable group: + +\begin{verbatim} +CartSymGI(cGH *GH, int *gi) +CartSymGN(cGH *GH, const char *gn) +\end{verbatim} + +and for a specific variable it provides: + +\begin{verbatim} +CartSymVI(cGH *GH, int *vi) +CartSymVN(cGH *GH, const char *gn) +\end{verbatim} + +A group or variable can +be specified by its index value or name (use the 'I' or 'N' version +respectively). The Fortran versions of these functions take an +additional first argument, which is an integer which will hold the +return value. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Do not delete next line -- cgit v1.2.3