FiberBundleHDF5  FiberHDF5 Documentation, Revision 2026
High-Performance Fiber Bundle Data Model for Scientific Visualization
Loading...
Searching...
No Matches
F5Bgrid.c
Go to the documentation of this file.
1#include "F5B.h"
2#include "F5defs.h"
3#include "F5coordinates.h"
4
5hid_t F5BgetGridVertexData(hid_t SliceID,
6 const char*gridname,
7 const char*chartname,
8 const char*fieldname)
9{
10hid_t G_id, T_id, R_id, D_id;
11
12 G_id = H5Gopen2(SliceID, gridname, H5P_DEFAULT);
13
14 T_id = H5Gopen2(G_id, FIBER_HDF5_POINTS , H5P_DEFAULT);
15 H5Gclose(G_id);
16 if (T_id<0) return -1;
17
18 R_id = H5Gopen2(T_id, chartname, H5P_DEFAULT);
19 H5Gclose(T_id);
20 if (R_id<0) return -1;
21
22 D_id = H5Dopen2(R_id, fieldname, H5P_DEFAULT);
23 H5Gclose(R_id);
24
25 return D_id;
26}
27
28
29
#define FIBER_HDF5_POINTS
Definition F5defs.h:55
hid_t F5BgetGridVertexData(hid_t SliceID, const char *gridname, const char *chartname, const char *fieldname)
Definition F5Bgrid.c:5
#define H5Gclose(x)
Definition F5X.h:144