aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
blob: 2d94accf5252f8df6c8fccb89b19c350d0c1747a (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
# Interface definition for thorn IOJpeg
# $Header$

implements: IOJpeg
inherits:   IO, Hyperslab, jpeg6b

USES INCLUDE HEADER: jconfig.h
USES INCLUDE HEADER: jpeglib.h


CCTK_INT FUNCTION \
  Hyperslab_Get (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_DefineGlobalMappingByIndex (CCTK_POINTER cctkGH, \
                                        CCTK_INT vindex, \
                                        CCTK_INT hdim, \
                                        CCTK_INT:ARRAY direction, \
                                        CCTK_INT:ARRAY origin, \
                                        CCTK_INT:ARRAY extent, \
                                        CCTK_INT:ARRAY downsample, \
                                        CCTK_INT table_handle, \
                                        CCTK_INT CCTK_FPOINTER \
                                          conversion_fn (CCTK_INT nelems, CCTK_INT stride, CCTK_INT from_type, CCTK_INT to_type, CCTK_POINTER:ARRAY from, CCTK_POINTER:ARRAY to), \
                                        CCTK_INT:ARRAY hsize)

CCTK_INT FUNCTION Hyperslab_FreeMapping (CCTK_INT mapping_handle)


USES FUNCTION Hyperslab_Get
USES FUNCTION Hyperslab_DefineGlobalMappingByIndex
USES FUNCTION Hyperslab_FreeMapping