diff options
Diffstat (limited to 'src/slab.h')
-rw-r--r-- | src/slab.h | 64 |
1 files changed, 45 insertions, 19 deletions
@@ -1,5 +1,3 @@ -/* $Header$ */ - #ifndef SLAB_H #define SLAB_H @@ -100,26 +98,54 @@ void print_xferinfo (FILE * const out, struct xferinfo const * CCTK_RESTRICT const xferinfo); + + +struct slabsetup; + +struct slabsetup * +Slab_MultiTransfer_Init +(cGH const * CCTK_RESTRICT const cctkGH, + int const dim, + struct xferinfo const * CCTK_RESTRICT const xferinfo, + int const options); + +int +Slab_MultiTransfer_Apply +(cGH const * CCTK_RESTRICT const cctkGH, + struct slabsetup const * CCTK_RESTRICT const slabsetup, + int const nvars, + int const * CCTK_RESTRICT const srctypes, + void const * CCTK_RESTRICT const * CCTK_RESTRICT const srcptrs, + int const * CCTK_RESTRICT const dsttypes, + void * CCTK_RESTRICT const * CCTK_RESTRICT const dstptrs); + +int +Slab_MultiTransfer_Finalize +(cGH const * CCTK_RESTRICT const cctkGH, + struct slabsetup * CCTK_RESTRICT const slabsetup); + int -Slab_Transfer (cGH const * CCTK_RESTRICT const cctkGH, - int const dim, - struct xferinfo const * CCTK_RESTRICT const xferinfo, - int const options, - int const srctype, - void const * CCTK_RESTRICT const srcptr, - int const dsttype, - void * CCTK_RESTRICT const dstptr); +Slab_MultiTransfer +(cGH const * CCTK_RESTRICT const cctkGH, + int const dim, + struct xferinfo const * CCTK_RESTRICT const xferinfo, + int const options, + int const nvars, + int const * CCTK_RESTRICT const srctypes, + void const * CCTK_RESTRICT const * CCTK_RESTRICT const srcptrs, + int const * CCTK_RESTRICT const dsttypes, + void * CCTK_RESTRICT const * CCTK_RESTRICT const dstptrs); int -Slab_MultiTransfer (cGH const * CCTK_RESTRICT const cctkGH, - int const dim, - struct xferinfo const * CCTK_RESTRICT const xferinfo, - int const options, - int const nvars, - int const * CCTK_RESTRICT const srctypes, - void const * CCTK_RESTRICT const * CCTK_RESTRICT const srcptrs, - int const * CCTK_RESTRICT const dsttypes, - void * CCTK_RESTRICT const * CCTK_RESTRICT const dstptrs); +Slab_Transfer +(cGH const * CCTK_RESTRICT const cctkGH, + int const dim, + struct xferinfo const * CCTK_RESTRICT const xferinfo, + int const options, + int const srctype, + void const * CCTK_RESTRICT const srcptr, + int const dsttype, + void * CCTK_RESTRICT const dstptr); #ifdef __cplusplus } |