|
FiberBundleHDF5
FiberHDF5 Documentation, Revision 2026
High-Performance Fiber Bundle Data Model for Scientific Visualization
|
Macros | |
| #define | H5Gclose(x) |
Functions | |
| F5_API hid_t | F5open (const char *filename, int socket) |
| F5_API int | F5connect (const char *url) |
| F5_API int | F5listen (const char *service) |
| F5_API void | F5closesocket (int socket) |
| F5_API void | F5socket_init () |
| F5_API void | F5socket_cleanup () |
| F5_API hid_t | F5Gcreate (hid_t loc_id, const char *name, int est_num_entries, int est_name_len) |
| F5_API hid_t | F5append (const char *filename) |
| F5_API hid_t | F5Gappend (hid_t loc_id, const char *name) |
| F5_API hid_t | F5Gappend_hinted_creation (hid_t loc_id, const char *name, int est_num_entries, int est_name_len) |
| F5_API hid_t | F5Gappend_external (hid_t loc_id, const char *name, const char *target_file_name, const char *target_obj_name, const char *prefix) |
| F5_API hid_t | F5Dappend (hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t create_plist_id) |
| F5_API hid_t | F5Dcreate (hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t create_plist_id) |
| F5_API int | F5Gopen (hid_t location, const char *name) |
| F5_API int | F5Gexist (hid_t location, const char *name) |
| F5_API hid_t | F5Gtry_to_open (hid_t location, const char *name) |
| F5_API int | F5Dexist (hid_t location, const char *name) |
| F5_API hid_t | F5Dtry_to_open (hid_t location, const char *name) |
| F5_API herr_t | F5Xclose (hid_t obj_id) |
| F5_API herr_t | _F5Gclose (hid_t id, const char *filename, int lineno) |
These extensions are of general use, not only in conjunction with the fiber bundle concept, but they just happen to sit here in this library.
| #define H5Gclose | ( | x | ) |
Definition at line 144 of file F5X.h.
Referenced by _F5Gclose(), F5B_read_chart_domain(), F5B_read_global_chart(), F5B_save_global_chart(), F5BgetGridVertexData(), F5Bopen_coordinate_domain(), F5Cget_content_types(), F5Cget_fields(), F5close(), F5Cset(), F5Fclose(), F5Fget_attribute_nr_elements(), F5Fget_field_enum(), F5Fget_fragment_attribute(), F5Fhas_fragment_attribute(), F5file_type(), F5Fis_fragment_attribute_of_type(), F5Fset_fragment_attribute(), F5Gappend_external(), F5Gappend_tree(), F5get_extension(), F5Gexist(), F5has_standard_vertex_fields(), F5I_add_field(), F5I_add_grid(), F5I_create_contents(), F5iterate_grids_per_bundle(), F5iterate_representations(), F5iterate_topologies(), F5iterate_topology_fields(), F5iterate_vertex_fields(), F5Lget_field_dimension_and_type(), F5Lis_linear(), F5Lread_linear(), F5LTcreate_topology(), F5LTcreateV(), F5LTget_maximal_grid_refinement(), F5LTget_maximal_skeleton_refinement(), F5LTset_maximal_grid_refinement(), F5P_has_vertices(), F5P_is_curvilinear(), F5P_is_rectilinear(), F5P_is_triangular_surface(), F5P_is_uniform(), F5Tmake_precise_tensor(), and F5Xclose().
| F5_API herr_t _F5Gclose | ( | hid_t | id, |
| const char * | filename, | ||
| int | lineno ) |
Call H5Cclose with a debug message when F5_VERBOSITY is larger then 110
Definition at line 342 of file F5private.c.
| F5_API hid_t F5append | ( | const char * | filename | ) |
Open some file for appending data.
Definition at line 225 of file F5X.c.
Referenced by F5Gappend_external(), and saveF5image().
| F5_API void F5closesocket | ( | int | socket | ) |
A forwarding call to the platformspecific system call to close a socket.
Definition at line 582 of file F5X.c.
References closesocket.
| F5_API int F5connect | ( | const char * | url | ) |
Open a socket connection to the specified host and port. The URL must be of the form:
Definition at line 415 of file F5X.c.
References closesocket, F5printf, INVALID_SOCKET, NI_MAXHOST, and WSAGetLastError.
| F5_API hid_t F5Dappend | ( | hid_t | loc_id, |
| const char * | name, | ||
| hid_t | type_id, | ||
| hid_t | space_id, | ||
| hid_t | create_plist_id ) |
Open some dataset if it exists, otherwise create one.
Definition at line 239 of file F5X.c.
References F5printf, and name.
Referenced by F5Cwrite_regular_surface(), and F5write_particle_cartesian3DvU().
| F5_API hid_t F5Dcreate | ( | hid_t | loc_id, |
| const char * | name, | ||
| hid_t | type_id, | ||
| hid_t | space_id, | ||
| hid_t | create_plist_id ) |
Create a new dataset, possibly deleting an old one if such exists.
Definition at line 278 of file F5X.c.
References F5printf, and name.
Referenced by F5Lcreate().
| F5_API int F5Dexist | ( | hid_t | location, |
| const char * | name ) |
Check if a dataset exists.
Definition at line 321 of file F5X.c.
References name.
Referenced by F5P_has_vertices(), F5P_is_curvilinear(), and F5P_is_rectilinear().
| F5_API hid_t F5Dtry_to_open | ( | hid_t | location, |
| const char * | name ) |
Definition at line 335 of file F5X.c.
References name.
Referenced by F5Fget_attribute_byname(), F5Fset_attribute_byname(), and F5P_is_triangular_surface().
| F5_API hid_t F5Gappend | ( | hid_t | loc_id, |
| const char * | name ) |
Open some group if it exists, otherwise create one.
Definition at line 59 of file F5X.c.
References F5Gappend_hinted_creation(), and name.
Referenced by F5Bappend_slice(), F5Cget_content_types(), F5Cget_fields(), F5Cset(), F5file_type(), F5Fwrite_linear_fraction(), F5Gappend_tree(), F5I_add_field(), F5I_add_grid(), F5I_create_contents(), F5LSwrite_fraction(), F5LTcreate_topology(), F5LTcreateV(), F5LTget_maximal_grid_refinement(), F5LTget_maximal_skeleton_refinement(), F5LTset_maximal_grid_refinement(), F5Lwrite_fraction(), F5Lwrite_fractionS(), and F5LwriteS().
| F5_API hid_t F5Gappend_external | ( | hid_t | loc_id, |
| const char * | name, | ||
| const char * | target_file_name, | ||
| const char * | target_obj_name, | ||
| const char * | prefix ) |
Definition at line 136 of file F5X.c.
References F5append(), F5Gappend_tree(), F5printf, H5Gclose, and name.
Referenced by F5Lwrite_fraction_external().
| F5_API hid_t F5Gappend_hinted_creation | ( | hid_t | loc_id, |
| const char * | name, | ||
| int | est_num_entries, | ||
| int | est_name_len ) |
Open or create a group, if created then with estimated hints about its number of entries and estimated length of its member names.
Definition at line 87 of file F5X.c.
References F5Gcreate(), F5printf, and name.
Referenced by F5Gappend().
| F5_API hid_t F5Gcreate | ( | hid_t | loc_id, |
| const char * | name, | ||
| int | est_num_entries, | ||
| int | est_name_len ) |
Create a group using utf8 encoding for the link name and making use of the estimated group entry and name length properties for optimization. If these values are negative, no such hints will be set.
Definition at line 65 of file F5X.c.
References name.
Referenced by F5Gappend_hinted_creation(), F5Lwrite_linear(), F5Lwrites(), and F5LwriteX().
| F5_API int F5Gexist | ( | hid_t | location, |
| const char * | name ) |
Check if a group exists.
Definition at line 307 of file F5X.c.
References H5Gclose, and name.
Referenced by F5Bopen_coordinate_domain(), F5LTcreateV(), F5P_has_vertices(), F5P_is_curvilinear(), F5P_is_particle_system(), and F5P_is_triangular_surface().
| F5_API hid_t F5Gtry_to_open | ( | hid_t | location, |
| const char * | name ) |
Try to open an HDF5 group, silently return -1 if it does not exist.
Definition at line 297 of file F5X.c.
References name.
Referenced by F5B_read_chart_domain(), F5Bopen_coordinate_domain(), F5Fget_attribute_byname(), F5iterate_grids_per_bundle(), F5iterate_representations(), F5iterate_topology_fields(), F5LTcreateV(), and F5P_is_triangular_surface().
| F5_API int F5listen | ( | const char * | service | ) |
Definition at line 621 of file F5X.c.
References closesocket, and F5printf.
| F5_API hid_t F5open | ( | const char * | filename, |
| int | socket ) |
Open some URL for reading data (read-only). Note that this function may well invoke the streaming HDF5 driver when a valid socket descriptor is given. Such might well be created by a call to F5connect(). Note that the socket needs to be closed explicitely.
Definition at line 589 of file F5X.c.
| F5_API void F5socket_cleanup | ( | ) |
| F5_API void F5socket_init | ( | ) |
Calling windows socket init on windows
Definition at line 390 of file F5X.c.
| F5_API herr_t F5Xclose | ( | hid_t | obj_id | ) |
Close an object regardless of its type.
Use this function to close any HDF5-Object,
if you do not know the type of the object.
This is especially usefull after a call to H5Rdereference().
@remark Normally you shouldn't use this function,
because you should know the objects you are creating.
| ret_type_id | A pointer to a storage to take the type of the given object. See H5Iget_type() for a list of types. |
| obj_id | The ID of the object to be closed. |
Definition at line 347 of file F5X.c.
References H5Gclose, and H5Tclose().
Referenced by F5Fget_attribute_byname(), F5Fset_attribute_byname(), F5Fwrite_linear_fraction(), F5Fwrite_linear_fraction_overlap(), F5LSwrite_fraction(), F5Lwrite_fraction(), F5Lwrite_fraction_external(), and F5Lwrite_fractionS().