aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOHDF5/src/iohdf5.h
blob: abaef7ee48f2a491a9c714d2bb083c3155b2352f (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
/* $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOHDF5/src/iohdf5.h,v 1.5 2004/05/21 18:11:34 schnetter Exp $ */

#ifndef CARPETIOHDF5_H
#define CARPETIOHDF5_H

#include "cctk_Arguments.h"

#ifdef __cplusplus
namespace CarpetIOHDF5 {
  extern "C" {
#endif
    
    /* Scheduled functions */
    int CarpetIOHDF5Startup (void);
    void CarpetIOHDF5Init (CCTK_ARGUMENTS);
    void CarpetIOHDF5ReadData (CCTK_ARGUMENTS);
    void CarpetIOHDF5_EvolutionCheckpoint (const cGH*);
    void CarpetIOHDF5_InitialDataCheckpoint (const cGH*);
    
    int CarpetIOHDF5_Recover (cGH* cgh, const char *basefilename, 
			      int called_from);

    int CarpetIOHDF5_RecoverParameters (void);

#ifdef __cplusplus
  } /* extern "C" */
} /* namespace CarpetIOHDF5 */
#endif

#endif /* !defined(CARPETIOHDF5_H) */