FiberBundleHDF5  FiberHDF5 Documentation, Revision 2026
High-Performance Fiber Bundle Data Model for Scientific Visualization
Loading...
Searching...
No Matches
F5Path.h File Reference
#include "F5L.h"
#include "F5Bchart.h"

Go to the source code of this file.

Data Structures

struct  F5Path

Functions

F5_API F5PathnewF5Path (hid_t File_id)
F5_API void deleteF5Path (F5Path *f)
F5_API F5PathF5LTcreate (hid_t File_id, const double *time, const char *gridname, ChartDomain_IDs *ChartDomain, new_global_chart_f coord_creator, const char *coordinate_system, const char *TopologyName, int IndexDepth, int SkeletonDimensionality, int DataspaceDimensionality, const hsize_t *refinement)
F5_API hid_t F5LTmake_enum_type (F5Path *fpath)

Function Documentation

◆ deleteF5Path()

F5_API void deleteF5Path ( F5Path * f)

Definition at line 18 of file F5Path.c.

19{
20 if (f)
21 {
22 H5Idec_ref( f->File_hid );
23 free(f);
24 }
25}
free(name)
hid_t File_hid
Definition F5Path.h:50

References F5Path::File_hid, and free().

Referenced by F5Bopen_coordinate_domain(), F5close(), and F5LTcreateV().

◆ F5LTmake_enum_type()

F5_API hid_t F5LTmake_enum_type ( F5Path * fpath)

Get the field enum type associated with this F5Path. May be used to check versioning information of field descriptions. \TODO Retrieve versioning from existing file, current implementation just writes.

Definition at line 179 of file F5LT.c.

180{
181 if (!fpath) return 0;
182 if (fpath->field_enum_type_hid<=0)
183 {
184 assert(fpath->ContentsGroup_hid);
185 F5printf(30, " F5LTmake_enum_type() - save type.");
187 F5printf(30, " F5LTmake_enum_type() - DONE saving type.");
188 }
189 return fpath->field_enum_type_hid;
190}
#define F5printf(verbosity,...)
Definition F5private.h:60
hid_t F5Tsave_F5field_enum(hid_t loc_id)
Definition F5types.c:222
hid_t field_enum_type_hid
Definition F5Path.h:48
hid_t ContentsGroup_hid
Definition F5Path.h:51

References F5Path::ContentsGroup_hid, F5printf, F5Tsave_F5field_enum(), and F5Path::field_enum_type_hid.

Referenced by F5Fcreate(), F5FSwrite_fraction(), F5Fwrite_1D(), F5Fwrite_flexible(), F5Fwrite_fraction(), F5Fwrite_fraction_external(), F5Fwrite_fractionS(), F5Fwrite_linear(), F5Fwrite_linear_fraction(), F5FwriteIMAGE(), F5Fwrites(), F5FwriteX(), F5Rcreate_coordinate_topology(), F5Rcreate_edges_as_vertices_topology(), F5Rcreate_hexaedrons_as_vertices_topology(), F5Rcreate_rectilinear(), F5Rcreate_tetrahedrons_as_vertices_topology(), F5Rcreate_triangles_as_vertices_topology(), F5Rcreate_uniform_sparse(), F5write_particle_cartesian3Dv(), F5write_particle_cartesian3DvU(), and F5write_particle_double_cartesian3Dv().

◆ newF5Path()

F5_API F5Path * newF5Path ( hid_t File_id)

Definition at line 5 of file F5Path.c.

6{
7 /* Create an empty F5Path structure */
8F5Path*f = (F5Path*)malloc(sizeof(F5Path));
9 memset (f, 0, sizeof (F5Path)); /* clear all pointers and flags */
10
11 f->File_hid = File_id;
12 H5Iinc_ref( f->File_hid );
13
14 return f;
15}

References F5Path::File_hid.

Referenced by F5Bopen_coordinate_domain(), and F5LTcreateV().