aboutsummaryrefslogtreecommitdiff
path: root/src/slab.h
diff options
context:
space:
mode:
authorschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2002-11-06 13:55:24 +0000
committerschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2002-11-06 13:55:24 +0000
commit934c58a18098245b57324649e0e5606e64f2c589 (patch)
tree422fb847639580fee212aba40d635d11f3cd3d3b /src/slab.h
parent5a0eefdbf5807d4bf95b3dc2bfb3e0f0e7abcfe3 (diff)
Added thorn documentation.
Added option table argument. Added copyright statement. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@9 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
Diffstat (limited to 'src/slab.h')
-rw-r--r--src/slab.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/slab.h b/src/slab.h
index b79af0a..2aa32bc 100644
--- a/src/slab.h
+++ b/src/slab.h
@@ -5,19 +5,6 @@
#include "cctk.h"
-struct slabinfo {
- int gsh;
- int lbnd, lsh;
- int lbbox, ubbox, nghostzones;
- int off, str, len;
-};
-
-struct xferinfo {
- struct slabinfo src, dst;
- int xpose;
- int flip;
-};
-
/*
Slab_Transfer copies a slab from one array into a slab of another
array.
@@ -83,9 +70,23 @@ struct xferinfo {
The source and the destination arrays may be the same.
*/
+struct slabinfo {
+ int gsh;
+ int lbnd, lsh;
+ int lbbox, ubbox, nghostzones;
+ int off, str, len;
+};
+
+struct xferinfo {
+ struct slabinfo src, dst;
+ int xpose;
+ int flip;
+};
+
int Slab_Transfer (cGH * restrict const cctkGH,
int const dim,
- struct xferinfo const * const xferinfo,
+ struct xferinfo const * restrict const xferinfo,
+ int const options,
int const srctype,
void const * const srcptr,
int const dsttype,