blob: 17ea9d98a7affa0fa55c1a784d3fe4b5f8e52861 (
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
|
/* $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOHDF5/src/iohdf5.h,v 1.7 2004/08/18 16:02:56 tradke Exp $ */
#ifndef CARPETIOHDF5_H
#define CARPETIOHDF5_H
#ifdef __cplusplus
namespace CarpetIOHDF5 {
extern "C" {
#endif
#ifdef USE_CHRISTIANS_ROUTINES
#include "cctk_Arguments.h"
int CarpetIOHDF5Startup (void);
void CarpetIOHDF5Init (CCTK_ARGUMENTS);
void CarpetIOHDF5ReadData (CCTK_ARGUMENTS);
void CarpetIOHDF5_EvolutionCheckpoint (const cGH*);
void CarpetIOHDF5_InitialDataCheckpoint (const cGH*);
#else
/* Scheduled functions */
void CarpetIOHDF5Startup (void);
int CarpetIOHDF5Init (const cGH* const);
int CarpetIOHDF5ReadData (const cGH* const);
int CarpetIOHDF5_InitialDataCheckpoint (const cGH* const);
int CarpetIOHDF5_EvolutionCheckpoint (const cGH* const);
int CarpetIOHDF5_TerminationCheckpoint (const cGH* const);
void CarpetIOHDF5EvolutionCheckpoint (const cGH* const);
void CarpetIOHDF5InitialDataCheckpoint (const cGH* const);
#endif
int CarpetIOHDF5_Recover (cGH* cgh, const char *basefilename, int called_from);
int CarpetIOHDF5_RecoverParameters (void);
int CarpetIOHDF5_CloseFile (void);
#ifdef __cplusplus
} /* extern "C" */
} /* namespace CarpetIOHDF5 */
#endif
#endif /* !defined(CARPETIOHDF5_H) */
|