blob: 9a93ad918fd26eb0a1e3988101441e0222fac4dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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);
}
|