|
FiberBundleHDF5
FiberHDF5 Documentation, Revision 2026
High-Performance Fiber Bundle Data Model for Scientific Visualization
|
Typedefs | |
| typedef herr_t | F5_iterate_representations_t(F5Path *Representation, void *operator_data, const char *Representer_name, F5Path *RepresentationTarget) |
| typedef herr_t | F5_iterate_timeslices_t(F5Path *path, double time, void *user_data) |
| typedef herr_t | F5_iterate_grids_t(F5Path *F5Grid, const char *gridname, void *user_data) |
| typedef herr_t | F5_iterate_topologies_t(F5Path *field, const char *topologyname, int index_depth, int topological_dimension, void *operator_data) |
| typedef herr_t | F5_iterate_fields_t(F5Path *field, const char *fieldname, void *operator_data, const char *representer_name) |
| typedef int | F5_fieldtype_t(hid_t type_id) |
| typedef herr_t | F5_iterate_grid_atlas_t(F5Path *grid, const char *coordinate_name, hid_t global_chart_hid, hid_t domain_group_hid, void *operator_data) |
| typedef herr_t | F5_iterate_grids_per_bundle_t(hid_t file_id, hid_t gridinfo_id, const char *gridname, void *user_data) |
| typedef herr_t | F5_iterate_gridevolution_per_bundle_t(hid_t file_id, const char *gridname, double time, const char *slicename, void *user_data) |
| F5_API int | F5Iignore (const char *s) |
| F5_API int | F5iterate_paramspace (hid_t file_id, int *idx, const F5ParameterSpace *selection, F5_iterate_paramspace_t *callback, void *user_data) |
| F5_API int | F5iterate_timeslices (hid_t file_id, hsize_t *idx, F5_iterate_timeslices_t *callback, void *user_data) |
| F5_API int | F5iterate_grids (F5Path *F5Slice, int *idx, F5_iterate_grids_t *callback, void *operator_data, F5_gridproperty_t **gridtypes, const char *coordinate_system) |
| F5_API int | F5iterate_topologies (F5Path *grid, int *idx, F5_iterate_topologies_t *callback, void *operator_data) |
| F5_API int | F5iterate_representations (F5Path *skeleton, int *idx, F5_iterate_representations_t *callback, void *operator_data) |
| F5_API int | F5iterate_fields (F5Path *representation, int *idx, const char *representer_name, F5_iterate_fields_t *callback, void *operator_data) |
| F5_API int | F5iterate_vertex_fields (F5Path *grid, int *idx, F5_iterate_fields_t *callback, void *operator_data, const char *coordinate_system, F5_fieldtype_t *what) |
| F5_API int | F5iterate_topology_fields (F5Path *skeleton, int *idx, F5_iterate_fields_t *callback, void *operator_data, const char *coordinate_system, F5_fieldtype_t *what) |
| F5_API int | F5has_standard_vertex_fields (F5Path *grid) |
| F5_API int | F5iterate_grids_per_bundle (hid_t file_id, int *idx, F5_iterate_grids_per_bundle_t *callback, void *user_data) |
| F5_API int | F5iterate_gridevolution (hid_t file_id, int *idx, F5_iterate_gridevolution_per_bundle_t *callback, void *user_data, F5_iterate_grids_per_bundle_t *gridinfo) |
Synopsis:
The current implementation status only allows to scan all fields given on the default Topology of Grid objects.
| typedef int F5_fieldtype_t(hid_t type_id) |
Prototype of a function that allows only certain types.
Definition at line 164 of file F5iterate.h.
| typedef herr_t F5_iterate_fields_t(F5Path *field, const char *fieldname, void *operator_data, const char *representer_name) |
Called per grid function.
| field_id | The HDF5 ID of the respective field. Note that it may be an HDF5 group ID or a dataset ID. Call H5Gclose() or H5Dclose() in the iterator function. |
| representer_name | The name of the containing group where this field resides. |
Definition at line 145 of file F5iterate.h.
| typedef herr_t F5_iterate_grid_atlas_t(F5Path *grid, const char *coordinate_name, hid_t global_chart_hid, hid_t domain_group_hid, void *operator_data) |
| grid | An F5Path pointing to the current grid with its members myChart and FileIDs being defined. |
Definition at line 186 of file F5iterate.h.
| typedef herr_t F5_iterate_gridevolution_per_bundle_t(hid_t file_id, const char *gridname, double time, const char *slicename, void *user_data) |
Callback function type for F5iterate_gridevolution().
| file_id | The HDF5 file ID. |
| gridname | The name of the current grid under investigation. |
| time | The time at which this grid exists. |
| slicename | The name of the time slice group where this grid resides in. |
Definition at line 229 of file F5iterate.h.
| typedef herr_t F5_iterate_grids_per_bundle_t(hid_t file_id, hid_t gridinfo_id, const char *gridname, void *user_data) |
The iterator function that is called for each grid that is found in the file.
Definition at line 212 of file F5iterate.h.
| typedef herr_t F5_iterate_grids_t(F5Path *F5Grid, const char *gridname, void *user_data) |
The iterator callback function that is called for each grid of a time slice that fullfills the specified grid property.
| F5Grid | An F5 path with a valid Grid identifier. |
Definition at line 81 of file F5iterate.h.
| typedef herr_t F5_iterate_representations_t(F5Path *Representation, void *operator_data, const char *Representer_name, F5Path *RepresentationTarget) |
| Representation | The F5Path to the currently traversed Represention |
| RepresentationTarget | The location of the Representer if its from another Grid. () |
Definition at line 432 of file F5iterate.c.
| typedef herr_t F5_iterate_timeslices_t(F5Path *path, double time, void *user_data) |
The iterator function that is called for each time slice.
| slice_id | An HDF5 group identifier. Call H5Gclose() in the iterater function. |
Definition at line 66 of file F5iterate.h.
| typedef herr_t F5_iterate_topologies_t(F5Path *field, const char *topologyname, int index_depth, int topological_dimension, void *operator_data) |
The call back function that will be invoked by F5iterate_topologies(). It traverses all Skeletons of a Grid object.
| index_depth | The number of "hops" that are required to go from the elements described in this group to vertex coordinates in a chart. |
| topological_dimension | The dimension of the k-cells that are stored within this Skeleton group. |
Definition at line 106 of file F5iterate.h.
Check whether this grid object has some fields in the standard vertex topology, i.e. an Points/ entry.
Definition at line 278 of file F5iterate.c.
References FIBER_HDF5_POINTS, F5Path::Grid_hid, and H5Gclose.
| F5_API int F5Iignore | ( | const char * | s | ) |
Simple (mostly internal) helper function to detect which attributes or groups shall be ignored generally. F5 ignores all groups starting with a dot or underline. Normally this function will not be used by application code.
Definition at line 18 of file F5iterate.c.
| F5_API int F5iterate_fields | ( | F5Path * | representation, |
| int * | idx, | ||
| const char * | representer_name, | ||
| F5_iterate_fields_t * | callback, | ||
| void * | operator_data ) |
Traverses all fields per representation. Typically invoked by the callback function of F5iterate_representations().
| representer_name | The name of the representation group, as come callbacks want to know this. |
Definition at line 582 of file F5iterate.c.
References VertexFieldParams::callback, VertexFieldParams::coordinate_system, VertexFieldParams::operator_data, VertexFieldParams::path, F5Path::Representation_hid, and VertexFieldParams::what.
| F5_API int F5iterate_gridevolution | ( | hid_t | file_id, |
| int * | idx, | ||
| F5_iterate_gridevolution_per_bundle_t * | callback, | ||
| void * | user_data, | ||
| F5_iterate_grids_per_bundle_t * | gridinfo ) |
| gridinfo | Optional per-grid callback function. May be just NULL. |
Definition at line 1372 of file F5iterate.c.
References F5iterate_gridevolution_struct::callback, F5iterate_grids_per_bundle(), F5printf, F5iterate_gridevolution_struct::file_id, F5iterate_gridevolution_struct::gridinfo, ok, my_grids_per_bundle_emulate_via_timeslice_struct::That, and F5iterate_gridevolution_struct::user_data.
| F5_API int F5iterate_grids | ( | F5Path * | F5Slice, |
| int * | idx, | ||
| F5_iterate_grids_t * | callback, | ||
| void * | operator_data, | ||
| F5_gridproperty_t ** | gridtypes, | ||
| const char * | coordinate_system ) |
Iterate over all grids within a slice.
| gridtypes | NULL-terminated array of grid property functions. May be NULL to retrieve all grids. |
| coordinate_system | The coordinate system in which to check for grid properties. E.g. a grid may be uniform in one coordinate system, but is just regular in another one. May be NULL to specify the default cartesian coordinate system. |
| F5Slice | An F5 path with a valid slice identifier. |
Definition at line 206 of file F5iterate.c.
References IterateGrids::callback, IterateGrids::coordinate_system, F5printf, FIBER_HDF5_DEFAULT_CHART, IterateGrids::gridtypes, IterateGrids::operator_data, IterateGrids::path, and F5Path::Slice_hid.
| F5_API int F5iterate_grids_per_bundle | ( | hid_t | file_id, |
| int * | idx, | ||
| F5_iterate_grids_per_bundle_t * | callback, | ||
| void * | user_data ) |
Iterate over all grids slices within a file.
Definition at line 1145 of file F5iterate.c.
References H5G_iterate_grids_per_bundle_struct::callback, F5Gtry_to_open(), F5printf, FIBER_CONTENT_GRIDS, FIBER_CONTENTS, H5G_iterate_grids_per_bundle_struct::file_id, H5Gclose, and H5G_iterate_grids_per_bundle_struct::operator_data.
Referenced by F5iterate_gridevolution().
| F5_API int F5iterate_paramspace | ( | hid_t | file_id, |
| int * | idx, | ||
| const F5ParameterSpace * | selection, | ||
| F5_iterate_paramspace_t * | callback, | ||
| void * | user_data ) |
References F5_API.
| F5_API int F5iterate_representations | ( | F5Path * | skeleton, |
| int * | idx, | ||
| F5_iterate_representations_t * | callback, | ||
| void * | operator_data ) |
Traverses all Representations per skeleton. Typically invoked by the callback function of F5iterate_topologies() .
Definition at line 465 of file F5iterate.c.
References DomainParams::callback, F5Gtry_to_open(), F5printf, FIBER_HDF5_CHARTS_PER_GRID, FIBER_HDF5_DEFAULT_CHART, FIBER_HDF5_DEPRECATED_OLD_DEFAULT_CHART, H5Gclose, DomainParams::operator_data, F5Path::Representation_hid, DomainParams::skeleton, and F5Path::Topology_hid.
| F5_API int F5iterate_timeslices | ( | hid_t | file_id, |
| hsize_t * | idx, | ||
| F5_iterate_timeslices_t * | callback, | ||
| void * | user_data ) |
Iterate over all time slices within a file.
Definition at line 105 of file F5iterate.c.
References H5G_iterate_timeslices_struct::callback, F5Binitialize_path(), F5close(), F5printf, H5G_iterate_timeslices_struct::operator_data, and H5G_iterate_timeslices_struct::path.
| F5_API int F5iterate_topologies | ( | F5Path * | grid, |
| int * | idx, | ||
| F5_iterate_topologies_t * | callback, | ||
| void * | operator_data ) |
Traverses all Skeletons of a Grid object. Usually it is invoked via F5iterate_grids() and invokes F5iterate_topology_fields();
Definition at line 689 of file F5iterate.c.
References TopologyParams::callback, TopologyParams::cells_done, F5Path::Chart_hid, F5Path::Charts_hid, TopologyParams::do_index_depth, F5_MAX_INDEX_DEPTH, F5_MIN_INDEX_DEPTH, F5LTget_skeleton_dimensionality(), F5printf, FIBER_HDF5_CELLS, FIBER_HDF5_CHARTS_PER_GRID, FIBER_HDF5_INVALID_SKELETON_DIMENSIONALITY, FIBER_HDF5_POINTS, F5Path::Grid_hid, H5Gclose, TopologyParams::operator_data, TopologyParams::path, TopologyParams::points_done, F5Path::Representation_hid, and F5Path::Topology_hid.
| F5_API int F5iterate_topology_fields | ( | F5Path * | skeleton, |
| int * | idx, | ||
| F5_iterate_fields_t * | callback, | ||
| void * | operator_data, | ||
| const char * | coordinate_system, | ||
| F5_fieldtype_t * | what ) |
Iterate over an arbitrary topology group. The group ID grid->Topology_id must be a valid group ID when calling this function.
Definition at line 296 of file F5iterate.c.
References VertexFieldParams::callback, F5Path::Chart_hid, F5Path::Charts_hid, VertexFieldParams::coordinate_system, F5Gtry_to_open(), F5printf, FIBER_HDF5_CHARTS_PER_GRID, FIBER_HDF5_DEFAULT_CHART, FIBER_HDF5_DEPRECATED_OLD_DEFAULT_CHART, F5Path::Grid_hid, H5Gclose, VertexFieldParams::operator_data, VertexFieldParams::path, F5Path::Representation_hid, F5Path::Topology_hid, and VertexFieldParams::what.
Referenced by F5iterate_vertex_fields().
| F5_API int F5iterate_vertex_fields | ( | F5Path * | grid, |
| int * | idx, | ||
| F5_iterate_fields_t * | callback, | ||
| void * | operator_data, | ||
| const char * | coordinate_system, | ||
| F5_fieldtype_t * | what ) |
Iterate over all fields given on the vertices per grid in the specified coordinate system.
| what | Function to select which field types are allowed. May be a NULL pointer to retrieve all fields on the grid. |
Definition at line 405 of file F5iterate.c.
References VertexFieldParams::callback, VertexFieldParams::coordinate_system, F5iterate_topology_fields(), FIBER_HDF5_POINTS, F5Path::Grid_hid, H5Gclose, VertexFieldParams::operator_data, F5Path::Topology_hid, and VertexFieldParams::what.