-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathh5cgnsbase.h
More file actions
70 lines (52 loc) · 1.56 KB
/
Copy pathh5cgnsbase.h
File metadata and controls
70 lines (52 loc) · 1.56 KB
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
65
66
67
68
69
70
#ifndef H5CGNSBASE_H
#define H5CGNSBASE_H
#include "iriclib_global.h"
#include "h5cgnszone.h"
#include <hdf5.h>
#include <string>
#include <vector>
namespace iRICLib {
class H5CgnsBaseIterativeData;
class H5CgnsConditionGroup;
class H5CgnsFile;
class H5CgnsGeographicDataTop;
class H5CgnsGridComplexConditionTop;
class H5CgnsSolverInformation;
class H5CgnsZone;
class IRICLIBDLL H5CgnsBase
{
public:
static std::string label();
H5CgnsBase(int dimension, const std::string& name, hid_t groupId, H5CgnsFile* file);
~H5CgnsBase();
int dimension() const;
std::string name() const;
H5CgnsConditionGroup* ccGroup() const;
H5CgnsGridComplexConditionTop* gccTop() const;
H5CgnsBaseIterativeData* biterData();
H5CgnsGeographicDataTop* geoDataTop() const;
H5CgnsSolverInformation* solverInformation() const;
int writeErrorCode(int errorCode);
int readErrorCode(int* errorCode);
int zoneNum() const;
H5CgnsZone* zoneById(int zid);
std::vector<std::string> zoneNames() const;
H5CgnsZone* defaultZone();
H5CgnsZone* zone(const std::string& name);
bool zoneExists(const std::string& name);
H5CgnsZone* createDefaultZone(H5CgnsZone::Type type, const std::vector<int>& size);
H5CgnsZone* createZone(const std::string& name, H5CgnsZone::Type type, const std::vector<int>& size);
std::string nextDefaultName();
int setSolutionId(int solutionId);
int copyGridsTo(H5CgnsBase* target);
int flush();
H5CgnsFile* file() const;
private:
class Impl;
Impl* impl;
};
} // namespace iRICLib
#ifdef _DEBUG
#include "private/h5cgnsbase_impl.h"
#endif // _DEBUG
#endif // H5CGNSBASE_H