blob: f02db19160636db517c71fe626cd252e0654d6b3 (
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
|
#ifndef TIMESTEP_HH
#define TIMESTEP_HH
#include <string>
#include <hdf5.h>
#include "cctk.h"
#include "file.hh"
namespace CarpetIOF5 {
using std::string;
namespace F5 {
class timestep_t {
file_t & m_file;
CCTK_REAL const m_time;
string m_name;
hid_t m_hdf5_timestep;
public:
timestep_t (file_t & file,
CCTK_REAL time,
char const * name = 0);
virtual
~ timestep_t ();
hid_t
get_hdf5_timestep ()
const;
virtual bool
invariant ()
const;
};
} // namespace F5
} // namespace CarpetIOF5
#endif // #ifndef TIMESTEP_HH
|