diff options
author | tradke <tradke@3af55ef0-e5e4-43b4-b020-ca5761ff09b2> | 2004-06-14 11:12:42 +0000 |
---|---|---|
committer | tradke <tradke@3af55ef0-e5e4-43b4-b020-ca5761ff09b2> | 2004-06-14 11:12:42 +0000 |
commit | ca0c7731de7c3d2bc45175af5b521c539bd66228 (patch) | |
tree | 3e7fb5f604817d8c717e13a8cd692e96c08fac1c /interface.ccl | |
parent | d754a1ddfe40636e42e2c0367c687b99f917fcd4 (diff) |
New I/O thorn for 1D/2D/3D output of datasets in SDF file format.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusIO/IOSDF/trunk@2 3af55ef0-e5e4-43b4-b020-ca5761ff09b2
Diffstat (limited to 'interface.ccl')
-rw-r--r-- | interface.ccl | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl new file mode 100644 index 0000000..2c84453 --- /dev/null +++ b/interface.ccl @@ -0,0 +1,48 @@ +# Interface definition for thorn IOSDF +# $Header$ + +implements: IOSDF +inherits: IO + +CCTK_INT FUNCTION \ + Hyperslab_GetList (CCTK_POINTER_TO_CONST IN cctkGH, \ + CCTK_INT IN mapping_handle, \ + CCTK_INT IN num_arrays, \ + CCTK_INT ARRAY IN procs, \ + CCTK_INT ARRAY IN vindices, \ + CCTK_INT ARRAY IN timelevels, \ + CCTK_INT ARRAY IN hdatatypes, \ + CCTK_POINTER ARRAY IN hdata, \ + CCTK_INT ARRAY OUT retvals) + +CCTK_INT FUNCTION \ + Hyperslab_GlobalMappingByIndex (CCTK_POINTER_TO_CONST IN cctkGH, \ + CCTK_INT IN vindex, \ + CCTK_INT IN hdim, \ + CCTK_INT ARRAY IN direction, \ + CCTK_INT ARRAY IN origin, \ + CCTK_INT ARRAY IN extent, \ + CCTK_INT ARRAY IN downsample, \ + CCTK_INT IN table_handle, \ + CCTK_INT CCTK_FPOINTER IN \ + conversion_fn (CCTK_INT IN nelems, \ + CCTK_INT IN src_stride, \ + CCTK_INT IN dst_stride, \ + CCTK_INT IN src_type, \ + CCTK_INT IN dst_type, \ + CCTK_POINTER_TO_CONST IN from, \ + CCTK_POINTER IN to), \ + CCTK_INT ARRAY OUT hsize) + +CCTK_INT FUNCTION Hyperslab_FreeMapping (CCTK_INT IN mapping_handle) + + +REQUIRES FUNCTION Hyperslab_GetList +REQUIRES FUNCTION Hyperslab_GlobalMappingByIndex +REQUIRES FUNCTION Hyperslab_FreeMapping + +CCTK_INT FUNCTION Coord_GroupSystem \ + (CCTK_POINTER_TO_CONST IN GH, \ + CCTK_STRING IN groupname) + +REQUIRES FUNCTION Coord_GroupSystem |