sisi4s
Loading...
Searching...
No Matches
Read.hpp
Go to the documentation of this file.
1#ifndef READ_HPP_
2#define READ_HPP_
4
5namespace sisi4s {
6
7namespace cc4s {
8
10
11struct Dimension {
12 size_t length;
14};
15using Dimensions = std::vector<Dimension>;
16
18
20
21template <ScalarType t>
23
24template <>
26 using type = double;
27};
28
29template <>
32};
33
36};
37
38struct ReadHeader {
39
40 enum Version { ONE = 100 };
41
47 double unit;
48};
49
50} // namespace cc4s
51
54
55} // namespace sisi4s
56
57#endif
#define DEFINE_ALGORITHM_HEADER(NAME,...)
Definition Algorithm.hpp:185
Definition Read.hpp:52
Definition Read.hpp:53
AxisType
Definition Read.hpp:9
@ AuxiliaryField
Definition Read.hpp:9
@ State
Definition Read.hpp:9
ElementFileType
Definition Read.hpp:17
@ IeeeBinaryFile
Definition Read.hpp:17
@ TextFile
Definition Read.hpp:17
ReadableType
Definition Read.hpp:34
@ Tensor
Definition Read.hpp:35
std::vector< Dimension > Dimensions
Definition Read.hpp:15
ScalarType
Definition Read.hpp:19
@ Real64
Definition Read.hpp:19
Definition Algorithm.hpp:10
Complex< Float64 > Complex64
Definition Complex.hpp:14
Complex< real > complex
Definition Complex.hpp:17
Definition Read.hpp:11
size_t length
Definition Read.hpp:12
AxisType type
Definition Read.hpp:13
Definition Read.hpp:38
ElementFileType elementsType
Definition Read.hpp:46
ScalarType scalarType
Definition Read.hpp:44
Version
Definition Read.hpp:40
@ ONE
Definition Read.hpp:40
Dimensions dimensions
Definition Read.hpp:45
ReadableType type
Definition Read.hpp:43
double unit
Definition Read.hpp:47
Version version
Definition Read.hpp:42
sisi4s::complex type
Definition Read.hpp:31
Definition Read.hpp:22