# Interface definition for thorn SampleIO # $Header$ # name of implementation this thorn provides Implements: SampleIO Inherits: IO # names of alias functions this thorn is using CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ CCTK_INT IN proc, \ CCTK_INT IN vindex, \ CCTK_INT IN timelevel, \ CCTK_INT IN hdatatype, \ CCTK_POINTER IN hdata) 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 IN CCTK_FPOINTER \ 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_Get REQUIRES FUNCTION Hyperslab_GlobalMappingByIndex REQUIRES FUNCTION Hyperslab_FreeMapping