aboutsummaryrefslogtreecommitdiff
path: root/src/PUGHSlab.h
diff options
context:
space:
mode:
authortradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035>2002-11-06 19:29:59 +0000
committertradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035>2002-11-06 19:29:59 +0000
commitb657c2188633f27d03d55bdc3566f3e16cce4475 (patch)
tree94d4d719a7bf84bddbb512111c769de3e1ff7655 /src/PUGHSlab.h
parent065081717a219b52a2a2df3f4463da1408fb8300 (diff)
Declare the hyperslab routines provided by PUGHSlab as function aliases.
That is, all function alias names start with "Hyperslab_*". Previously existing PUGHSlab functions by those names were renamed back into "PUGHSlab_*" and should not be called directly. This affects all thorns using the new hyperslab API: CactusBase/IOASCII, CactusPUGHIO/*, CactusIO/IOJpeg, and CactusExamples/SampleIO. Please also update these thorns now. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@92 10716dce-81a3-4424-a2c8-48026a0d3035
Diffstat (limited to 'src/PUGHSlab.h')
-rw-r--r--src/PUGHSlab.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/PUGHSlab.h b/src/PUGHSlab.h
index edc582f..b1af99a 100644
--- a/src/PUGHSlab.h
+++ b/src/PUGHSlab.h
@@ -25,23 +25,23 @@ typedef void (*t_hslabConversionFn) (const void *src,
CCTK_INT dst_stride);
/* function prototypes */
-CCTK_INT Hyperslab_Get (const cGH *GH,
- CCTK_INT mapping_handle,
- CCTK_INT proc,
- CCTK_INT vindex,
- CCTK_INT timelevel,
- CCTK_INT hdatatype,
- void *hdata);
-CCTK_INT Hyperslab_GetList (const cGH *GH,
- CCTK_INT mapping_handle,
- CCTK_INT num_arrays,
- const CCTK_INT *procs, /* num_arrays */
- const CCTK_INT *vindices, /* num_arrays */
- const CCTK_INT *timelevels, /* num_arrays */
- const CCTK_INT *hdatatypes, /* num_arrays */
- void *const *hdata, /* num_arrays */
- CCTK_INT *retvals /* num_arrays */);
-CCTK_INT Hyperslab_DefineLocalMappingByIndex (
+CCTK_INT PUGHSlab_Get (const cGH *GH,
+ CCTK_INT mapping_handle,
+ CCTK_INT proc,
+ CCTK_INT vindex,
+ CCTK_INT timelevel,
+ CCTK_INT hdatatype,
+ void *hdata);
+CCTK_INT PUGHSlab_GetList (const cGH *GH,
+ CCTK_INT mapping_handle,
+ CCTK_INT num_arrays,
+ const CCTK_INT *procs, /* num_arrays */
+ const CCTK_INT *vindices, /* num_arrays */
+ const CCTK_INT *timelevels, /* num_arrays */
+ const CCTK_INT *hdatatypes, /* num_arrays */
+ void *const *hdata, /* num_arrays */
+ CCTK_INT *retvals /* num_arrays */);
+CCTK_INT PUGHSlab_DefineLocalMappingByIndex (
const cGH *GH,
CCTK_INT vindex,
CCTK_INT hdim,
@@ -55,7 +55,7 @@ CCTK_INT Hyperslab_DefineLocalMappingByIndex (
CCTK_INT *hsize_global, /* hdim */
CCTK_INT *hoffset_global /* hdim */);
-CCTK_INT Hyperslab_DefineGlobalMappingByIndex (
+CCTK_INT PUGHSlab_DefineGlobalMappingByIndex (
const cGH *GH,
CCTK_INT vindex,
CCTK_INT hdim,
@@ -66,7 +66,7 @@ CCTK_INT Hyperslab_DefineGlobalMappingByIndex (
CCTK_INT table_handle,
t_hslabConversionFn conversion_fn,
CCTK_INT *hsize /* hdim */);
-CCTK_INT Hyperslab_FreeMapping (CCTK_INT mapping_handle);
+CCTK_INT PUGHSlab_FreeMapping (CCTK_INT mapping_handle);
int Hyperslab_GetLocalHyperslab (const cGH *GH,