blob: 2fb2aec9cf4a9c534b85dc605c8f5948785e8a70 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/*@@
@file Startup.c
@date Sat Feb 6 1999
@author Gabrielle Allen
@desc
Startup routines for IOUtil.
@enddesc
@@*/
static char *rcsid="$Header$";
#include <stdio.h>
#include "cctk_Flesh.h"
#include "cctk_GHExtensions.h"
/* prototypes of functions to be registered */
void *IOUtil_SetupGH (tFleshConfig *config, int convergence_level, cGH *GH);
int IOUtil_InitGH (cGH *GH);
int IOUtil_rfrTraverseGH (cGH *GH, int rfrpoint);
/*@@
@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 IOMethod;
int IO_GHExtension;
IO_GHExtension = CCTK_RegisterGHExtension("IO");
CCTK_RegisterGHExtensionSetupGH(IO_GHExtension, IOUtil_SetupGH);
CCTK_RegisterGHExtensionInitGH(IO_GHExtension, IOUtil_InitGH);
CCTK_RegisterGHExtensionrfrTraverseGH(IO_GHExtension, IOUtil_rfrTraverseGH);
}
|