aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorrideout <rideout@94b1c47f-dcfd-45ef-a468-0854c0e9e350>2003-02-26 18:13:57 +0000
committerrideout <rideout@94b1c47f-dcfd-45ef-a468-0854c0e9e350>2003-02-26 18:13:57 +0000
commitfd8381ce13bcdb4e8ba413489597bc2862682d9a (patch)
tree30a4db668e68957ad0220dbe41796cb8e4e69228 /interface.ccl
parentfcf99c27cf306c40d5b8bd2f1f7eacb08b75eb82 (diff)
New specification for describing aliased functions.
(From Thomas Radke.) git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@141 94b1c47f-dcfd-45ef-a468-0854c0e9e350
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl49
1 files changed, 28 insertions, 21 deletions
diff --git a/interface.ccl b/interface.ccl
index 9d94730..8a7e49f 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -2,28 +2,35 @@
# $Header$
implements: IOASCII
-inherits: IO, Hyperslab
+inherits: IO, Hyperslab
+
+
+CCTK_INT FUNCTION \
+ Hyperslab_GetList (CCTK_POINTER cctkGH, \
+ CCTK_INT mapping_handle, \
+ CCTK_INT num_arrays, \
+ CCTK_INT:ARRAY procs, \
+ CCTK_INT:ARRAY vindices, \
+ CCTK_INT:ARRAY timelevels, \
+ CCTK_INT:ARRAY hdatatypes, \
+ CCTK_POINTER:ARRAY hdata, \
+ CCTK_INT:ARRAY retvals)
+
+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)
-CCTK_INT FUNCTION Hyperslab_GetList CCTK_POINTER_TO_CONST 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_DefineGlobalMappingByIndex CCTK_POINTER_TO_CONST 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
USES FUNCTION Hyperslab_GetList
USES FUNCTION Hyperslab_DefineGlobalMappingByIndex