diff options
author | allen <allen@89daf98e-ef62-4674-b946-b8ff9de2216c> | 2001-11-11 21:39:59 +0000 |
---|---|---|
committer | allen <allen@89daf98e-ef62-4674-b946-b8ff9de2216c> | 2001-11-11 21:39:59 +0000 |
commit | 8be2dead296133de0c1ba7de0c02265b6b5b4f95 (patch) | |
tree | ecd35b9b0198c5be604da7d6f2d1752ddd3f8364 /src/Startup.c | |
parent | 0e1241aeb6a0355731bd10d9ab2ec9464ef9995f (diff) |
Schedule AHFInder at ANALYSIS instead of POSTSTEP
AHFinder is always triggered
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinder/trunk@257 89daf98e-ef62-4674-b946-b8ff9de2216c
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/Startup.c b/src/Startup.c new file mode 100644 index 0000000..6331e11 --- /dev/null +++ b/src/Startup.c @@ -0,0 +1,45 @@ + /*@@ + @file Startup.c + @date Sat 10th November 2001 + @author Gabrielle Allen + @desc + Startup routines for AHFinder. + @enddesc + @version $Id$ + @@*/ + +#include "cctk.h" + +static const char *rcsid = "$Header$"; + +CCTK_FILEVERSION(CactusEinstein_AHFinder_Startup_c) + +int AHFinder_TimeForOutput (const cGH *GH, int vindex); + +/******************************************************************** + ******************** External Routines ************************ + ********************************************************************/ +void AHFinder_Startup (void); + + /*@@ + @routine AHfinder_Startup + @date Sat 10th November 2001 + @author Gabrielle Allen + @desc + The startup registration routine for AHFinder. + Registers AHFinder as an IO Method and provide the + only necessary method TimeForOutput + @enddesc + @calls CCTK_RegisterGHExtensionSetupGH +@@*/ +void AHFinder_Startup (void) +{ + int handle; + + handle = CCTK_RegisterIOMethod ("AHFinder"); + CCTK_RegisterIOMethodTimeToOutput (handle, AHFinder_TimeForOutput); +} + + + + |