blob: 6e6c4d2eec747f5236ef692280025bed7bd15e78 (
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
51
52
53
54
55
56
57
58
59
60
|
/*@@
@header cctk_Flesh.h
@date Thu Sep 24 10:18:52 1998
@author Tom Goodale
@desc
Header file for flesh functions.
@enddesc
@version $Header$
@@*/
#ifndef _CCTK_FLESH_H_
#define _CCTK_FLESH_H_
#include "cGH.h"
/* Typedefs */
typedef struct
{
char *parameter_file_name;
/* Array of pointers to cactus grid hierarchies. */
cGH **GH;
unsigned int nGHs;
/* flag telling whether we restart from a checkpoint or not */
int recovered;
/* cTimer *timer[3];*/
} tFleshConfig;
/* Function prototypes */
#ifdef __cplusplus
extern "C"
{
#endif
#define CCTK_FILEVERSION(file) const char *CCTKi_version_##file (void); \
const char *CCTKi_version_##file (void) \
{ return (rcsid); }
int CCTK_Traverse (cGH *GH, const char *where);
int CCTKi_ProcessCommandLine (int *argc, char ***argv, tFleshConfig *config);
int CCTKi_ProcessEnvironment (int *argc, char ***argv, tFleshConfig *config);
int CCTKi_InitialiseDataStructures (tFleshConfig *config);
int CCTKi_ProcessParameterDatabase (tFleshConfig *config);
int CCTKi_CallStartupFunctions (tFleshConfig *config);
int CCTKi_AddGH (tFleshConfig *config, unsigned int convergence_level, cGH *GH);
int CCTKi_InitialiseCactus (int *argc, char ***argv, tFleshConfig *config);
int CCTKi_ShutdownCactus (tFleshConfig *config);
int CCTKi_DummyExit (cGH *GH, int retval);
#ifdef __cplusplus
}
#endif
#endif /* _CCTK_FLESH_H_ */
|