aboutsummaryrefslogtreecommitdiff
path: root/src/Startup.c
diff options
context:
space:
mode:
authorjshalf <jshalf@bfcf8e34-485d-4d46-a995-1fd6fa6fb178>2000-09-25 04:50:00 +0000
committerjshalf <jshalf@bfcf8e34-485d-4d46-a995-1fd6fa6fb178>2000-09-25 04:50:00 +0000
commit1a826b78b503406ab21d25148e52c7547a0e578a (patch)
treeb53c3eb0696019f1e185ebba6708c5721a63a3ed /src/Startup.c
parenta3213b41c523b23a1c650b48026d5dac5e618909 (diff)
Initial add to the repository.
These are the basic files needed to re-implement isosurfacer in C. This has mostly been cleaned of C++ code, but hasn't been tested out yet. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IsoSurfacer/trunk@2 bfcf8e34-485d-4d46-a995-1fd6fa6fb178
Diffstat (limited to 'src/Startup.c')
-rw-r--r--src/Startup.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/Startup.c b/src/Startup.c
new file mode 100644
index 0000000..9a93ad9
--- /dev/null
+++ b/src/Startup.c
@@ -0,0 +1,35 @@
+ /*@@
+ @file Startup.c
+ @date Fri May 21 1999
+ @author Thomas Radke
+ @desc
+ Startup routines for IsoSurfacer.
+ @enddesc
+ @history
+ @endhistory
+ @@*/
+
+#include <stdio.h>
+
+#include "cctk_Flesh.h"
+#include "cctk_GHExtensions.h"
+#include "cctk_IOMethods.h"
+#include "IsoSurfacerInit.h"
+
+void IsoSurfacer_Startup()
+{
+ int IOMethod;
+ int IsoSurfacer_GHExtension;
+
+ IsoSurfacer_GHExtension = CCTK_RegisterGHExtension ("IsoSurfacer");
+ CCTK_RegisterGHExtensionSetupGH (IsoSurfacer_GHExtension,IsoSurfacer_SetupGH);
+ CCTK_RegisterGHExtensionInitGH (IsoSurfacer_GHExtension, IsoSurfacer_InitGH);
+
+ /* Register the IsoSurfacer routine as output method */
+ IOMethod = CCTK_RegisterIOMethod ("IsoSurfacer");
+ CCTK_RegisterIOMethodOutputGH (IOMethod, IsoSurfacer);
+ CCTK_RegisterIOMethodTimeToOutput (IOMethod, IsoSurfacer_TimeForOutput);
+ CCTK_RegisterIOMethodTriggerOutput (IOMethod, IsoSurfacer_TriggerOutput);
+
+}
+