aboutsummaryrefslogtreecommitdiff
path: root/src/PUGHSlab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/PUGHSlab.h')
-rw-r--r--src/PUGHSlab.h36
1 files changed, 25 insertions, 11 deletions
diff --git a/src/PUGHSlab.h b/src/PUGHSlab.h
index 6020e47..edc582f 100644
--- a/src/PUGHSlab.h
+++ b/src/PUGHSlab.h
@@ -2,7 +2,7 @@
@header PUGHSlab.h
@date Sun 28 May 2000
@author Thomas Radke
- @desc
+ @desc
Global function declarations of thorn PUGHSlab
@enddesc
@version $Header$
@@ -10,7 +10,7 @@
#ifndef _PUGHSLAB_PUGHSLAB_H_
-#define _PUGHSLAB_PUGHSLAB_H_
+#define _PUGHSLAB_PUGHSLAB_H_ 1
#ifdef __cplusplus
extern "C"
@@ -35,20 +35,34 @@ 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 *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 */,
+ 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 (
+ const cGH *GH,
+ CCTK_INT vindex,
+ CCTK_INT hdim,
+ const CCTK_INT *direction, /* vdim*hdim */
+ const CCTK_INT *origin, /* vdim */
+ const CCTK_INT *extent, /* hdim */
+ const CCTK_INT *downsample,/* hdim */
+ CCTK_INT table_handle,
+ t_hslabConversionFn conversion_fn,
+ CCTK_INT *hsize_local, /* hdim */
+ CCTK_INT *hsize_global, /* hdim */
+ CCTK_INT *hoffset_global /* hdim */);
+
CCTK_INT Hyperslab_DefineGlobalMappingByIndex (
const cGH *GH,
CCTK_INT vindex,
CCTK_INT hdim,
- const CCTK_INT *direction /* vdim*hdim */,
- const CCTK_INT *origin /* vdim */,
- const CCTK_INT *extent /* hdim */,
- const CCTK_INT *downsample /* hdim */,
+ const CCTK_INT *direction, /* vdim*hdim */
+ const CCTK_INT *origin, /* vdim */
+ const CCTK_INT *extent, /* hdim */
+ const CCTK_INT *downsample,/* hdim */
CCTK_INT table_handle,
t_hslabConversionFn conversion_fn,
CCTK_INT *hsize /* hdim */);