aboutsummaryrefslogtreecommitdiff
path: root/src/slab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/slab.h')
-rw-r--r--src/slab.h64
1 files changed, 45 insertions, 19 deletions
diff --git a/src/slab.h b/src/slab.h
index 7c02cce..e8c1855 100644
--- a/src/slab.h
+++ b/src/slab.h
@@ -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
}