From 934c58a18098245b57324649e0e5606e64f2c589 Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 6 Nov 2002 13:55:24 +0000 Subject: 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 --- src/slab.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'src/slab.h') 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, -- cgit v1.2.3