aboutsummaryrefslogtreecommitdiff
path: root/src/PUGHSlab.h
diff options
context:
space:
mode:
authortradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035>2002-03-21 17:38:38 +0000
committertradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035>2002-03-21 17:38:38 +0000
commit74d880e668e0ec091e3a5b1ef9c3271c0d9b5c78 (patch)
tree2baa1c4fcc032b2ec8d3e8ce5c667fcb049ebb6a /src/PUGHSlab.h
parent85427e9d79b8f9b5815a2757ce822db9dfbb25cb (diff)
Changed the new API according to the final hyperslabbing API spec.
This does not affect any existing codes which should use only the current API so far. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@74 10716dce-81a3-4424-a2c8-48026a0d3035
Diffstat (limited to 'src/PUGHSlab.h')
-rw-r--r--src/PUGHSlab.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/PUGHSlab.h b/src/PUGHSlab.h
index 718edc6..b5640b8 100644
--- a/src/PUGHSlab.h
+++ b/src/PUGHSlab.h
@@ -27,6 +27,7 @@ typedef void (*t_hslabConversionFn) (const void *src,
/* 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,
@@ -34,10 +35,11 @@ CCTK_INT Hyperslab_Get (const cGH *GH,
CCTK_INT Hyperslab_GetList (const cGH *GH,
CCTK_INT mapping_handle,
CCTK_INT 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 */);
+ 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 Hyperslab_DefineGlobalMappingByIndex (
const cGH *GH,
CCTK_INT vindex,
@@ -47,7 +49,6 @@ CCTK_INT Hyperslab_DefineGlobalMappingByIndex (
const CCTK_INT *extent /* hdim */,
const CCTK_INT *downsample /* hdim */,
CCTK_INT table_handle,
- CCTK_INT target_proc,
t_hslabConversionFn conversion_fn,
CCTK_INT *hsize /* hdim */);
CCTK_INT Hyperslab_FreeMapping (CCTK_INT mapping_handle);
@@ -65,7 +66,7 @@ int Hyperslab_GetLocalHyperslab (const cGH *GH,
int hsize [/*hdim*/], int ghsize [/*hdim*/],
int hoffset [/*hdim*/]);
int Hyperslab_GetHyperslab (const cGH *GH,
- int target_proc,
+ int proc,
int vindex,
int vtimelvl,
int hdim,