blob: 39a8ecf232794378c6c18dfed27360a0d2160bdc (
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
|
#ifndef TENSOR_COMPONENT_HH
#define TENSOR_COMPONENT_HH
#include <hdf5.h>
#include "physical_quantity.hh"
namespace CarpetIOF5 {
namespace F5 {
class tensor_component_t {
physical_quantity_t & m_physical_quantity;
int const m_variable;
hid_t m_hdf5_tensor_component;
public:
tensor_component_t (physical_quantity_t & physical_quantity,
int variable);
virtual
~ tensor_component_t ();
hid_t
get_variable ()
const;
hid_t
get_hdf5_tensor_component ()
const;
virtual bool
invariant ()
const;
};
} // namespace F5
} // namespace CarpetIOF5
#endif // #ifndef TENSOR_COMPONENT_HH
|