aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetSlab/src/slab.h
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetSlab/src/slab.h')
-rw-r--r--Carpet/CarpetSlab/src/slab.h86
1 files changed, 43 insertions, 43 deletions
diff --git a/Carpet/CarpetSlab/src/slab.h b/Carpet/CarpetSlab/src/slab.h
index e57205aa0..221ecf009 100644
--- a/Carpet/CarpetSlab/src/slab.h
+++ b/Carpet/CarpetSlab/src/slab.h
@@ -1,4 +1,4 @@
-/* $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/slab.h,v 1.2 2003/11/05 16:18:39 schnetter Exp $ */
+/* $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/slab.h,v 1.3 2004/01/22 13:31:07 tradke Exp $ */
#ifndef CARPETSLAB_H
#define CARPETSLAB_H
@@ -9,7 +9,7 @@
namespace CarpetSlab {
extern "C" {
#endif
-
+
CCTK_INT CarpetSlab_Get (cGH const * const cctkGH,
CCTK_INT const mapping_handle,
CCTK_INT const proc,
@@ -17,7 +17,7 @@ namespace CarpetSlab {
CCTK_INT const timelevel,
CCTK_INT const hdatatype,
void * const hdata);
-
+
CCTK_INT CarpetSlab_GetList (cGH const * const cctkGH,
CCTK_INT const mapping_handle,
CCTK_INT const num_arrays,
@@ -27,47 +27,47 @@ namespace CarpetSlab {
CCTK_INT const * const hdatatypes,
void * const * const hdata,
CCTK_INT * const retvals);
-
- CCTK_INT CarpetSlab_DefineLocalMappingByIndex (cGH const * const cctkGH,
- CCTK_INT const vindex,
- CCTK_INT const hdim,
- CCTK_INT const * const direction,
- CCTK_INT const * const origin,
- CCTK_INT const * const extent,
- CCTK_INT const * const downsample,
- CCTK_INT const table_handle,
- CCTK_INT (* const conversion_fn) (CCTK_INT const nelems,
- CCTK_INT const src_stride,
- CCTK_INT const dst_stride,
- CCTK_INT const src_type,
- CCTK_INT const dst_type,
- void const * const from,
- void * const to),
- CCTK_INT * const hsize_local,
- CCTK_INT * const hsize_global,
- CCTK_INT * const hoffset_global);
- CCTK_INT CarpetSlab_DefineGlobalMappingByIndex (cGH const * const cctkGH,
- CCTK_INT const vindex,
- CCTK_INT const hdim,
- CCTK_INT const * const direction,
- CCTK_INT const * const origin,
- CCTK_INT const * const extent,
- CCTK_INT const * const downsample,
- CCTK_INT const table_handle,
- CCTK_INT (* const conversion_fn) (CCTK_INT const nelems,
- CCTK_INT const src_stride,
- CCTK_INT const dst_stride,
- CCTK_INT const src_type,
- CCTK_INT const dst_type,
- void const * const from,
- void * const to),
- CCTK_INT * const hsize);
-
+ CCTK_INT CarpetSlab_LocalMappingByIndex (cGH const * const cctkGH,
+ CCTK_INT const vindex,
+ CCTK_INT const hdim,
+ CCTK_INT const * const direction,
+ CCTK_INT const * const origin,
+ CCTK_INT const * const extent,
+ CCTK_INT const * const downsample,
+ CCTK_INT const table_handle,
+ CCTK_INT (* const conversion_fn) (CCTK_INT const nelems,
+ CCTK_INT const src_stride,
+ CCTK_INT const dst_stride,
+ CCTK_INT const src_type,
+ CCTK_INT const dst_type,
+ void const * const from,
+ void * const to),
+ CCTK_INT * const hsize_local,
+ CCTK_INT * const hsize_global,
+ CCTK_INT * const hoffset_global);
+
+ CCTK_INT CarpetSlab_GlobalMappingByIndex (cGH const * const cctkGH,
+ CCTK_INT const vindex,
+ CCTK_INT const hdim,
+ CCTK_INT const * const direction,
+ CCTK_INT const * const origin,
+ CCTK_INT const * const extent,
+ CCTK_INT const * const downsample,
+ CCTK_INT const table_handle,
+ CCTK_INT (* const conversion_fn) (CCTK_INT const nelems,
+ CCTK_INT const src_stride,
+ CCTK_INT const dst_stride,
+ CCTK_INT const src_type,
+ CCTK_INT const dst_type,
+ void const * const from,
+ void * const to),
+ CCTK_INT * const hsize);
+
CCTK_INT CarpetSlab_FreeMapping (CCTK_INT const mapping_handle);
-
-
-
+
+
+
/* Old interface -- don't use */
int Hyperslab_GetHyperslab (cGH* const GH,
const int target_proc,
@@ -80,7 +80,7 @@ namespace CarpetSlab {
const int downsample [/*hdim*/],
void** const hdata,
int hsize [/*hdim*/]);
-
+
#ifdef __cplusplus
} /* extern "C" */
} /* namespace CarpetSlab */