aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhaas <rhaas@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2013-06-02 01:07:55 +0000
committerrhaas <rhaas@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2013-06-02 01:07:55 +0000
commit438ab59f14870b1f58854951c493cd996cbaa641 (patch)
treea14c2b862db1cc8e53294ddb04c86d964f5d8b63
parent4508a50e32aea320593740dea0f382d9273490d9 (diff)
update documentation to show cctk_ash in example, update Slab arrangment, update
email address. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@94 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
-rw-r--r--doc/documentation.tex18
-rw-r--r--src/slab.h2
2 files changed, 15 insertions, 5 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex
index ebcd415..dab5cd6 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -75,7 +75,7 @@
\begin{document}
% The author of the documentation
-\author{Erik Schnetter \textless schnetter@uni-tuebingen.de\textgreater}
+\author{Erik Schnetter \textless eschnetter@perimeterinstitute.ca\textgreater}
% The title of the document (not necessarily the name of the Thorn)
\title{Generic Hyperslabbing}
@@ -149,6 +149,7 @@ USES INCLUDE HEADER: Slab.h
struct slabinfo {
int gsh;
int lbnd, lsh;
+ int ash;
int lbbox, ubbox, nghostzones;
int off, str, len;
};
@@ -254,6 +255,11 @@ the processor-local part of the array
Local shape of the array; the number of grid points on this processor
\end{Parameter}
+\begin{Parameter}{\textit{slab}.ash}
+Local allocated shape of the array; the number of grid points on this
+processor including padding
+\end{Parameter}
+
\begin{Parameter}{\textit{slab}.lbbox}
Lower bounding box of the array; whether the lower boundary of the
array is an outer boundary. This corresponds to the even entries in
@@ -383,12 +389,14 @@ for (d=0; d<cctk_dim; ++d) {
info[d].src.gsh = cctk_gsh[d];
info[d].src.lbnd = cctk_lbnd[d];
info[d].src.lsh = cctk_lsh[d];
+ info[d].src.ash = cctk_ash[d];
info[d].src.lbbox = cctk_bbox[2*d];
info[d].src.ubbox = cctk_bbox[2*d+1];
info[d].src.nghostzones = cctk_nghostzones[d];
info[d].dst.gsh = cctk_gsh[d];
info[d].dst.lbnd = cctk_lbnd[d];
info[d].dst.lsh = cctk_lsh[d];
+ info[d].dst.ash = cctk_ash[d];
info[d].dst.lbbox = cctk_bbox[2*d];
info[d].dst.ubbox = cctk_bbox[2*d+1];
info[d].dst.nghostzones = cctk_nghostzones[d];
@@ -441,12 +449,14 @@ for (d=0; d<cctk_dim; ++d) {
info[d].src.gsh = cctk_gsh[d];
info[d].src.lbnd = cctk_lbnd[d];
info[d].src.lsh = cctk_lsh[d];
+ info[d].src.ash = cctk_ash[d];
info[d].src.lbbox = cctk_bbox[2*d];
info[d].src.ubbox = cctk_bbox[2*d+1];
info[d].src.nghostzones = cctk_nghostzones[d];
info[d].dst.gsh = cctk_gsh[d];
info[d].dst.lbnd = cctk_lbnd[d];
info[d].dst.lsh = cctk_lsh[d];
+ info[d].dst.ash = cctk_ash[d];
info[d].dst.lbbox = cctk_bbox[2*d];
info[d].dst.ubbox = cctk_bbox[2*d+1];
info[d].dst.nghostzones = cctk_nghostzones[d];
@@ -495,15 +505,15 @@ assert (!ierr);
\section{Obtaining This Thorn}
-This thorn is available from the \texttt{TAT} arrangement in the
-\texttt{arrangements} directory on the \texttt{cvs.cactuscode.org}
+This thorn is available from the \texttt{CactusNumerical} arrangement in the
+\texttt{arrangements} directory on the \texttt{svn.cactuscode.org}
CVS server via anonymous pserver access.
\section{Support and Feedback}
This thorn was written by Erik Schnetter \textless
-schnetter@uni-tuebingen.de\textgreater\ in 2002. Contact me for
+eschnetter@perimeterinstitute.ca\textgreater\ in 2002. Contact me for
questions and comments.
% Do not delete next line
diff --git a/src/slab.h b/src/slab.h
index ee252e0..7a8e0ca 100644
--- a/src/slab.h
+++ b/src/slab.h
@@ -17,7 +17,7 @@ extern "C"
* The src and dst variables describe the source and the destination
* slab, respectively.
*
- * The variables gsh, lbnd, and lsh describe the shape and
+ * The variables gsh, lbnd, ash and lsh describe the shape and
* distribution of the array containing the slab. They are equivalent
* to the corresponding quantities in the cGH structure.
*