diff options
author | tradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035> | 2002-04-25 16:31:34 +0000 |
---|---|---|
committer | tradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035> | 2002-04-25 16:31:34 +0000 |
commit | e53db17ff31f4a0abebe0eb65aaa63c030155f01 (patch) | |
tree | 5b8642bafe254d9a86bca7bd400792d37b6946f1 /src/PUGHSlab.h | |
parent | 0c70c0bf78a59733589be194ac4971400c581651 (diff) |
Implemented routines to define and extract local hyperslabs.
This finally closes a couple feature requests.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@82 10716dce-81a3-4424-a2c8-48026a0d3035
Diffstat (limited to 'src/PUGHSlab.h')
-rw-r--r-- | src/PUGHSlab.h | 36 |
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 */); |