/*@@ @file Startup.c @date Sat Feb 6 1999 @author Gabrielle Allen @desc Startup routines for IOUtil. @enddesc @version $Header$ @@*/ #include #include "cctk.h" /* the rcs ID and its dummy funtion to use it */ static const char *rcsid="$Header$"; CCTK_FILEVERSION(CactusBase_IOUtil_Startup_c) /******************************************************************** ********************* Local Routine Prototypes ********************* ********************************************************************/ void IOUtil_Startup(void); /******************************************************************** ********************* Other Routine Prototypes ********************* ********************************************************************/ /* prototypes of functions to be registered */ void *IOUtil_SetupGH (tFleshConfig *config, int convergence_level, cGH *GH); int IOUtil_InitGH (cGH *GH); /******************************************************************** ********************* External Routines ********************** ********************************************************************/ /*@@ @routine IOUtil_Startup @date Sat Feb 6 1999 @author Gabrielle Allen @desc The startup registration routine for IOUtil. Registers the GH extensions needed for IOUtil. @enddesc @calls @calledby @history @endhistory @@*/ void IOUtil_Startup(void) { int IO_GHExtension; IO_GHExtension = CCTK_RegisterGHExtension("IO"); CCTK_RegisterGHExtensionSetupGH(IO_GHExtension, IOUtil_SetupGH); CCTK_RegisterGHExtensionInitGH(IO_GHExtension, IOUtil_InitGH); }