blob: ac59c18e2c6deff497e7dfb5787488f5313cde6b (
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
61
62
|
#ifndef META_DATA_REGION_HH
#define META_DATA_REGION_HH
#include <string>
#include <hdf5.h>
#include "bbox.hh"
#include "defs.hh"
#include "physical_quantity.hh"
namespace CarpetIOF5 {
namespace F5 {
using std::string;
class meta_data_region_t {
physical_quantity_t & m_physical_quantity;
bbox<int, dim> const m_region;
string const m_name;
hid_t m_properties;
hid_t m_dataset;
hid_t m_dataspace;
meta_data_region_t ();
meta_data_region_t (meta_data_region_t const &);
meta_data_region_t operator= (meta_data_region_t const &);
public:
meta_data_region_t (physical_quantity_t & physical_quantity,
bbox<int, dim> const & region);
virtual
~ meta_data_region_t ();
physical_quantity_t &
get_physical_quantity ()
const;
void
write (int proc)
const;
virtual bool
invariant ()
const;
};
} // namespace F5
} // namespace CarpetIOF5
#endif // #ifndef META_DATA_REGION_HH
|