diff options
Diffstat (limited to 'src/slab.h')
-rw-r--r-- | src/slab.h | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -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, |