aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
blob: a19bd2ebb9c657c0e24808d8449f2ee08bc5e3a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Interface definition for thorn PUGHSlab
# $Header$

implements: Hyperslab
inherits:   Driver

CCTK_INT FUNCTION Hyperslab_Get const CCTK_POINTER cctkGH, \
                                CCTK_INT mapping_handle, \
                                CCTK_INT proc, \
                                CCTK_INT vindex, \
                                CCTK_INT timelevel, \
                                CCTK_INT hdatatype, \
                                CCTK_POINTER hdata
CCTK_INT FUNCTION Hyperslab_GetList const CCTK_POINTER cctkGH, \
                                    CCTK_INT mapping_handle, \
                                    CCTK_INT num_arrays, \
                                    const CCTK_INT *procs, \
                                    const CCTK_INT *vindices, \
                                    const CCTK_INT *timelevels, \
                                    const CCTK_INT *hdatatypes, \
                                    CCTK_POINTER const *hdata, \
                                    CCTK_INT *retvals
CCTK_INT FUNCTION Hyperslab_DefineLocalMappingByIndex const CCTK_POINTER cctkGH, \
                                                      CCTK_INT vindex, \
                                                      CCTK_INT hdim, \
                                                      const CCTK_INT *direction, \
                                                      const CCTK_INT *origin, \
                                                      const CCTK_INT *extent, \
                                                      const CCTK_INT *downsample, \
                                                      CCTK_INT table_handle, \
                                                      CCTK_FPOINTER conversion_fn, \
                                                      CCTK_INT *hsize_local, \
                                                      CCTK_INT *hsize_global, \
                                                      CCTK_INT *hoffset_global
CCTK_INT FUNCTION Hyperslab_DefineGlobalMappingByIndex const CCTK_POINTER cctkGH, \
                                                       CCTK_INT vindex, \
                                                       CCTK_INT hdim, \
                                                       const CCTK_INT *direction, \
                                                       const CCTK_INT *origin, \
                                                       const CCTK_INT *extent, \
                                                       const CCTK_INT *downsample, \
                                                       CCTK_INT table_handle, \
                                                       CCTK_FPOINTER conversion_fn, \
                                                       CCTK_INT *hsize
CCTK_INT FUNCTION Hyperslab_FreeMapping CCTK_INT mapping_handle

PROVIDES FUNCTION Hyperslab_Get WITH PUGHSlab_Get LANGUAGE C
PROVIDES FUNCTION Hyperslab_GetList WITH PUGHSlab_GetList LANGUAGE C
PROVIDES FUNCTION Hyperslab_DefineGlobalMappingByIndex WITH PUGHSlab_DefineGlobalMappingByIndex LANGUAGE C
PROVIDES FUNCTION Hyperslab_DefineLocalMappingByIndex WITH PUGHSlab_DefineLocalMappingByIndex LANGUAGE C
PROVIDES FUNCTION Hyperslab_FreeMapping WITH PUGHSlab_FreeMapping LANGUAGE C

INCLUDES HEADER: PUGHSlab.h in Hyperslab.h