summaryrefslogtreecommitdiff
path: root/src/include/cctk_GHExtensions.h
blob: 995694779f2e291c57c83aff1e34486f2e8d8b5f (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
 /*@@
   @header    cctk_GHExtensions.h
   @date      Fri Jan 15 14:15:20 1999
   @author    Tom Goodale
   @desc 
   
   @enddesc
   @version $Id$
 @@*/

#ifndef _GHEXTENSIONS_H_
#define _GHEXTENSIONS_H_

#ifdef __cplusplus
extern "C" {
#endif

int CCTK_RegisterGHExtension(const char *name);

int CCTK_RegisterGHExtensionSetupGH(int handle, 
				    void *(*func)(tFleshConfig *, int, cGH *));

int CCTK_RegisterGHExtensionInitGH(int handle, int (*func)(cGH *));

int CCTK_RegisterGHExtensionrfrTraverseGH(int handle, int (*func)(cGH *, int));

int CCTKi_SetupGHExtensions(tFleshConfig *config, 
			   int convergence_level, 
			   cGH *GH);

int CCTKi_InitGHExtensions(cGH *GH);

int CCTK_rfrTraverseGHExtensions(cGH *GH, int rfrpoint);

int CCTK_GHExtensionHandle(const char *name);


#ifdef __cplusplus
}
#endif

#endif