blob: 35e5ecc798c51f60577b1f92e30e3506001b1c86 (
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
63
64
|
#ifndef DATA_REGION_HH
#define 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 data_region_t {
physical_quantity_t & m_physical_quantity;
bbox<int, dim> const m_region;
string const m_name;
hid_t m_hdf5_data_region;
data_region_t ();
data_region_t (data_region_t const &);
data_region_t operator= (data_region_t const &);
public:
data_region_t (physical_quantity_t & physical_quantity,
bbox<int, dim> const & region);
virtual
~ data_region_t ();
physical_quantity_t &
get_physical_quantity ()
const;
bbox<int, dim> const &
get_region ()
const;
hid_t
get_hdf5_data_region ()
const;
virtual bool
invariant ()
const;
};
} // namespace F5
} // namespace CarpetIOF5
#endif // #ifndef DATA_REGION_HH
|