aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrideout <rideout@c78560ca-4b45-4335-b268-5f3340f3cb52>2002-07-30 14:48:36 +0000
committerrideout <rideout@c78560ca-4b45-4335-b268-5f3340f3cb52>2002-07-30 14:48:36 +0000
commit711ca2ec26fe5b4566762084c03e61b87825aedd (patch)
tree74bfbbba4bea2cf654cc59635745006226974d8d
parente1448514c4eb0788f7b01920a6762a6173d69af3 (diff)
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
-rw-r--r--doc/documentation.tex25
1 files changed, 25 insertions, 0 deletions
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