AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

DAGHIO.h

Go to the documentation of this file.
00001 #ifndef _included_DAGHIO_h
00002 #define _included_DAGHIO_h
00003 
00009 /* Add new types here */
00010 #define DAGHIO_NONE             (0)
00011 #define DAGHIO_HDF_NCSA         (1)
00012 
00013 #include "DAGHIOParams.h"
00014 
00015 /* IO a la NCSA */
00016 extern void DAGHIO_HDF_NCSA_Finalize();
00017 extern void DAGHIO_HDF_NCSA_Write(class GridHierarchy &, struct gdhdr *, void *);
00018 extern void DAGHIO_HDF_NCSA_Read(class GridHierarchy &, struct gdhdr *, void *);
00019 
00020 inline void DAGHIOInit(void)
00021  {
00022    comm_service::set_io_enable();
00023 
00024    DAGHIO_Write[DAGHIO_NONE] = 0;
00025    DAGHIO_Read[DAGHIO_NONE] = 0;
00026 
00027    DAGHIO_Write[DAGHIO_HDF_NCSA] = &DAGHIO_HDF_NCSA_Write;
00028    DAGHIO_Read[DAGHIO_HDF_NCSA] = &DAGHIO_HDF_NCSA_Read;
00029  }
00030 
00031 #endif


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04