|
FiberBundleHDF5
FiberHDF5 Documentation, Revision 2026
High-Performance Fiber Bundle Data Model for Scientific Visualization
|
Functions | |
| F5_API void | F5close (F5Path *f) |
| F5_API int | F5Fread_linear (F5Path *fpath, hsize_t *dims, hid_t fieldtype, void *base, void *delta) |
| F5_API hid_t | F5Lcreate (hid_t R_id, const char *fieldname, int dimension, const hsize_t *dims, hid_t fieldtype, hid_t property_id) |
| F5_API hid_t | F5LTcreate_topology (hid_t Grid_hid, const char *TopologyName, int IndexDepth, int SkeletonDimensionality, int DataspaceDimensionality, const hsize_t *refinement) |
| F5_API int | F5LTset_maximal_grid_refinement (hid_t ContentsGroup_id, const char *gridname, int IndexDepth, int Dimensionality, const hsize_t *refinement) |
| F5_API int | F5LTget_maximal_grid_refinement (hid_t ContentsGroup_id, const char *gridname, hsize_t *refinement) |
| F5_API int | F5LTget_maximal_skeleton_refinement (hid_t ContentsGroup_id, const char *gridname, hsize_t *refinement, int IndexDepth, int Dimensionality) |
| F5_API int | F5LTget_index_depth (hid_t Top_hid) |
| F5_API hid_t | F5Lwrite (hid_t R_id, const char *fieldname, int dimension, const hsize_t *dims, hid_t fieldtype, hid_t memtype, const void *dataPtr, hid_t enum_type, hid_t property_id) |
| F5_API hid_t | F5LwriteS (hid_t Container_id, const char *name, int dimension, const hsize_t *dims, hid_t fieldtype, hid_t memtype, const void *dataPtr, hid_t enum_type, hid_t dcpl_id) |
| F5_API int | F5LreadS (hid_t Container_id, hid_t memtype, void *dataPtr, hid_t ElementLoadID) |
| F5_API hid_t | F5Lwrite_fraction (hid_t R_id, const char *fieldname, int dimension, const hsize_t *full_dims, const hsize_t *datasize, hid_t fieldtype, hid_t memtype, const void *dataPtr, const hsize_t *datastart, const hsize_t *start_border, const hsize_t *end_border, const char *fraction_name, hid_t enum_type, hid_t property_id) |
| F5_API hid_t | F5LSwrite_fraction (hid_t R_id, const char *fieldname, int dimension, const hsize_t *full_dims, const hsize_t *datasize, hid_t fieldtype, hid_t memtype, const void *const *dataPtr, const hsize_t *datastart, const hsize_t *start_border, const hsize_t *end_border, const char *fraction_name, hid_t enum_type, hid_t property_id) |
| F5_API hid_t | F5Lwrite1D (hid_t R_id, const char *fieldname, hsize_t nElements, hid_t fieldtype, hid_t memtype, const void *dataPtr, hid_t enum_type, hid_t property_id) |
| F5_API hid_t | F5Lwrite_linear (hid_t R_id, const char *fieldname, int dimension, const hsize_t *dataspace_dims, hid_t fieldtype, const void *base, const void *delta) |
| F5_API hid_t | F5Lread_linear (hid_t F_id, hsize_t *dims, hid_t fieldtype, void *base, void *delta) |
| F5_API hid_t | F5Lwrite_entity (hid_t R_id, const char *fieldname, hid_t fieldtype, const void *value) |
| F5_API hid_t | F5Lwrites (hid_t F_id, const char *fieldname, int dimension, const hsize_t *dims, hid_t fieldtype, hid_t memtype, const void *const *dataPtr, hid_t enum_type, hid_t property_id) |
| F5_API hid_t | F5Lget_type (hid_t Field_hid, int FieldIDisGroup, hid_t elink_fapl_id) |
| F5_API int | F5Lget_field_dimension_and_type (hid_t Representation_hid, const char *fieldname, hsize_t dims[FIBER_MAX_RANK], hid_t *type_id) |
| F5_API int | F5LAsave_dimensions (hid_t Field_id, const char *aname, int rank, const hsize_t *dims) |
| F5_API int | F5LAget_dimensions (hid_t Field_id, const char *aname, hsize_t dims[FIBER_MAX_RANK]) |
| F5_API int | F5Lset_space (hid_t Field_id, int rank, const hsize_t *dims) |
| F5_API int | F5Lget_compound_extent_dims (hid_t CompoundGroupID, hsize_t *dims) |
| F5_API hid_t | F5Lget_compound_space (hid_t CompoundGroupID) |
| F5Path * | F5LTcreateV (hid_t File_id, const double *time, const char *gridname, ChartDomain_IDs *ChartDomain, ChartDomain_IDs *coord_creator(void *udata), void *udata, const char *coordinate_system, const char *TopologyName, int IndexDepth, int SkeletonDimensionality, int Dimensionality, const hsize_t *refinement) |
| F5Path * | F5LTcreate (hid_t File_id, const double *time, const char *gridname, ChartDomain_IDs *ChartDomain, ChartDomain_IDs *coord_creator(), const char *coordinate_system, const char *TopologyName, int IndexDepth, int SkeletonDimensionality, int Dimensionality, const hsize_t *refinement) |
| F5_API F5Path * | F5LTcreate (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) |
Remove a F5Path object.
Definition at line 186 of file F5B.c.
References F5Path::Chart_hid, F5Path::Charts_hid, F5Path::ContentsGroup_hid, deleteF5Path(), F5B_delete_global_chart(), F5Fis_group(), F5printf, F5Path::field_enum_type_hid, F5Path::Field_hid, F5Path::FileIDs, F5Path::GlobalChart_hid, F5Path::Grid_hid, H5Gclose, H5Tclose(), F5Path::myChart, F5Path::Representation_hid, F5Path::Slice_hid, and F5Path::Topology_hid.
Referenced by F5closep(), F5Cwrite_regular_surface(), F5Fwrite_uniform_cartesian3D(), F5Fwrite_uniform_cartesian3Ds(), F5iterate_timeslices(), F5Rcreate_rectilinear(), F5write_particle_cartesian3Dv(), F5write_particle_cartesian3DvU(), F5write_particle_double_cartesian3Dv(), F5write_particle_positions(), F5write_uniform_cartesian3Dv(), F5write_uniform_cartesian3Dvs(), and saveF5image().
| F5_API int F5Fread_linear | ( | F5Path * | fpath, |
| hsize_t * | dims, | ||
| hid_t | fieldtype, | ||
| void * | base, | ||
| void * | delta ) |
Try to read a field which is a linear mapping of a base (origin) and delta value. The fpath object gets the the field identifier set to the opened field (which is available to retrieve additional user-defined attributes and such).
@params dims The dimensions of integer coordinates.
Definition at line 1517 of file F5F.c.
References F5Lread_linear(), F5printf, F5printf_indent, F5Tpermute_dimensions(), FIBER_MAX_RANK, and F5Path::Field_hid.
| F5_API int F5LAget_dimensions | ( | hid_t | Field_id, |
| const char * | aname, | ||
| hsize_t | dims[FIBER_MAX_RANK] ) |
Read an n-dimensional attribute.
| dims | The n values, maximally FIBER_MAX_RANK |
Definition at line 233 of file F5A.c.
References F5Aopen_name(), F5printf, F_H5Aread(), and FIBER_MAX_RANK.
Referenced by F5Lget_dimensions(), F5LTexpand_dataspace(), F5LTget_maximal_grid_refinement(), F5LTget_maximal_skeleton_refinement(), F5LTset_dataspace(), F5LTset_maximal_grid_refinement(), and F5Tget_space().
| F5_API int F5LAsave_dimensions | ( | hid_t | Field_id, |
| const char * | aname, | ||
| int | rank, | ||
| const hsize_t * | dims ) |
Save dimensional information to a certain location.
Definition at line 192 of file F5A.c.
References F5printf, and FIBER_MAX_RANK.
Referenced by F5Fwrite_linear(), F5Fwrite_linear_fraction(), F5Fwrite_linear_fraction_overlap(), F5Lset_space(), F5LSwrite_fraction(), F5LTcreate_topology(), F5LTexpand_dataspace(), F5LTset_dataspace(), F5LTset_maximal_grid_refinement(), F5Lwrite_fraction(), F5Lwrite_fraction_external(), and F5Lwrite_fractionS().
| F5_API hid_t F5Lcreate | ( | hid_t | R_id, |
| const char * | fieldname, | ||
| int | dimension, | ||
| const hsize_t * | dims, | ||
| hid_t | fieldtype, | ||
| hid_t | property_id ) |
Create an HDF5 dataset for further treatment with raw HDF5 functions, e.g. to write an hyperslab instead of the full dataset at once.
| property_id | An HDF5 dataset property ID. If it is negative, then a default property will be created locally via H5Pcreate(H5P_DATASET_CREATE). |
| dataspace_id | Pointer to an HDF5 identifier, that will be used to store a shared dataspace. It may be NULL, in which case a local dataspace is created. Until shared dataspaces are implemented in HDF5, this will make no difference in the actual HDF5 file. |
| R_id | The group ID where the field shall be inserted, preferably a representation group ID that has been created by an F5create_representation() call. |
| fieldname | The name of the field. It may be chosen arbitrarily, but must not contain slashes "/". It is furthermore recommended to avoid special characters - even if they work - and to keep the name short and concise). |
| dimension | The dimensionality of the data set. |
| dims | The extension of the data set. |
| fieldtype | An HDF5 type identifier. |
Definition at line 60 of file F5L.c.
References F5Dcreate(), and F5printf.
Referenced by F5Fcreate(), and F5Lwrite().
| F5_API int F5Lget_compound_extent_dims | ( | hid_t | CompoundGroupID, |
| hsize_t * | dims ) |
Get the dataspace extension from a compound group.
Definition at line 302 of file F5L.c.
References F5Lget_type(), and H5Tclose().
| F5_API hid_t F5Lget_compound_space | ( | hid_t | CompoundGroupID | ) |
Get the dataspace of a compound group.
Definition at line 327 of file F5L.c.
References F5Lget_type(), and H5Tclose().
| F5_API int F5Lget_field_dimension_and_type | ( | hid_t | Representation_hid, |
| const char * | fieldname, | ||
| hsize_t | dims[FIBER_MAX_RANK], | ||
| hid_t * | type_id ) |
Retrieve dimensional and type information for a specific field.
Definition at line 449 of file F5uniform.c.
References F5Aopen_name(), F5Lget_type(), FIBER_FIELD_DATASPACE_DIMENSIONS_ATTRIBUTE, FIBER_MAX_RANK, and H5Gclose.
| F5_API hid_t F5Lget_type | ( | hid_t | Field_hid, |
| int | FieldIDisGroup, | ||
| hid_t | elink_fapl_id ) |
Retrieve type information for a specific field.
Definition at line 173 of file F5L.c.
References F5Aopen_name(), F5Atry_to_open(), F5printf, TypeIterationParameters::fapl_id, FIBER_HDF5_TYPEID_ATTRIB, FIBER_UNIFORMARRAY_BASE_ATTRIBUTE, and TypeIterationParameters::type_id.
Referenced by F5Fget_type2(), F5Lget_compound_extent_dims(), F5Lget_compound_space(), F5Lget_field_dimension_and_type(), F5P_is_curvilinear(), and F5P_is_rectilinear().
| F5_API hid_t F5Lread_linear | ( | hid_t | F_id, |
| hsize_t * | dims, | ||
| hid_t | fieldtype, | ||
| void * | base, | ||
| void * | delta ) |
Try to read a field as if it were a linear mapping of indices to some values.
| dims | The extensions of an HDF5 dataspace. |
Definition at line 911 of file F5L.c.
References F5Aopen_name(), F_H5Aread(), FIBER_FIELD_DATASPACE_DIMENSIONS_ATTRIBUTE, FIBER_MAX_RANK, FIBER_UNIFORMARRAY_BASE_ATTRIBUTE, FIBER_UNIFORMARRAY_DELTA_ATTRIBUTE, and H5Gclose.
Referenced by F5Fread_linear(), and F5Fread_linear_fragment().
| F5_API int F5LreadS | ( | hid_t | Container_id, |
| hid_t | memtype, | ||
| void * | dataPtr, | ||
| hid_t | ElementLoadID ) |
Read a dataset stored as separated compound as a continiguous compound dataset, involving some data transformation. Internally, hyperslabs are used.
Definition at line 552 of file F5L.c.
References F5printf, and FIBER_MAX_RANK.
| F5_API int F5Lset_space | ( | hid_t | Field_id, |
| int | rank, | ||
| const hsize_t * | dims ) |
Save dimensional information to a certain location.
Definition at line 292 of file F5L.c.
References F5LAsave_dimensions(), F5printf, FIBER_FIELD_DATASPACE_DIMENSIONS_ATTRIBUTE, and ok.
Referenced by F5Fwrite_linear_fraction(), F5LSwrite_fraction(), F5Lwrite_fraction(), F5Lwrite_fraction_external(), F5Lwrite_fractionS(), and F5Lwrite_linear().
| F5_API hid_t F5LSwrite_fraction | ( | hid_t | R_id, |
| const char * | fieldname, | ||
| int | dimension, | ||
| const hsize_t * | full_dims, | ||
| const hsize_t * | datasize, | ||
| hid_t | fieldtype, | ||
| hid_t | memtype, | ||
| const void *const * | dataPtr, | ||
| const hsize_t * | datastart, | ||
| const hsize_t * | start_border, | ||
| const hsize_t * | end_border, | ||
| const char * | fraction_name, | ||
| hid_t | enum_type, | ||
| hid_t | property_id ) |
Write a dataset of separate components that only cover a fraction of the entire representation's domain.
| dimension | The dimension of the data set. |
| datastart | The (multidimensional) start index of the saved data set. |
| dataend | The (multidimensional) end index of the saved data set. |
| fraction_name | An optional string to name this fraction. It may be NULL to use an internal default. |
Definition at line 793 of file F5L.c.
References F5Dset_type_attribute(), F5Gappend(), F5LAsave_dimensions(), F5Lset_space(), F5Lwrites(), F5printf, F5Xclose(), FIBER_FRAGMENT_NOOVERLAP_END_ATTRIBUTE, FIBER_FRAGMENT_NOOVERLAP_START_ATTRIBUTE, FIBER_FRAGMENT_OFFSET_ATTRIBUTE, and MAX_BLOCKNAME.
Referenced by F5FSwrite_fraction().
| F5Path * F5LTcreate | ( | hid_t | File_id, |
| const double * | time, | ||
| const char * | gridname, | ||
| ChartDomain_IDs * | ChartDomain, | ||
| ChartDomain_IDs * | coord_creator(), | ||
| const char * | coordinate_system, | ||
| const char * | TopologyName, | ||
| int | IndexDepth, | ||
| int | SkeletonDimensionality, | ||
| int | Dimensionality, | ||
| const hsize_t * | refinement ) |
Create a Topology of the given name with a representation in the certain coordinate system. If the ChartDomain has not been set yet, then the types in the newly created chart domain (F5Path->myChart) will contain valid types for the Points and tangential types, as they are created by the specified coord_creator(). Note that the coord_create() specifies the type of the coordinate system, while the coordinate_system parameter specifies the actual object that is of this respective type.
Definition at line 712 of file F5LT.c.
References F5LTcreate(), F5LTcreateV(), F5printf, and TopologyName().
Referenced by F5LTcreate(), F5Rcreate_coordinate_topology(), F5Rcreate_edges_as_vertices_topology(), F5Rcreate_hexaedrons_as_vertices_topology(), F5Rcreate_relative_vertex_Irefinement3D(), F5Rcreate_relative_vertex_Qrefinement3D(), F5Rcreate_tetrahedrons_as_vertices_topology(), and F5Rcreate_triangles_as_vertices_topology().
| F5_API F5Path * F5LTcreate | ( | 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 ) |
Low-level creation function for F5Path objects.
| time | Pointer to the time instance of the current parameter space slices, or NULL if the data reside in a zero-dimensional parameter space, i.e. they are static. In a future extension, this may be a point to a multidimensional structure specifying the location in multidimensional parameter space. |
| SkeletonDimensionality | The dimensionality of the k-cells that is described by this Skeleton of a Grid. |
| DataspaceDimensionality | The dimensionality of the data that is used for the data on this Skeleton. This is best to be identical to the SkeletonDimensionality, but may differ, for instance one can store data in one-dimensional arrays over a 2D grid, or have some kind of irregular point distribution. |
References F5_API, and TopologyName().
| F5_API hid_t F5LTcreate_topology | ( | hid_t | Grid_hid, |
| const char * | TopologyName, | ||
| int | IndexDepth, | ||
| int | SkeletonDimensionality, | ||
| int | DataspaceDimensionality, | ||
| const hsize_t * | refinement ) |
Definition at line 329 of file F5LT.c.
References F5Asave_ints(), F5Astore_integer(), F5Gappend(), F5LAsave_dimensions(), F5printf, FIBER_HDF5_INDEXDEPTH_ATTRIB, FIBER_HDF5_RANK_ATTRIBUTE, FIBER_HDF5_REFINEMENT_INFO, FIBER_HDF5_SKELETON_DIMENSIONALITY_ATTRIB, H5Gclose, and TopologyName().
Referenced by F5LTcreateV().
| F5Path * F5LTcreateV | ( | hid_t | File_id, |
| const double * | time, | ||
| const char * | gridname, | ||
| ChartDomain_IDs * | ChartDomain, | ||
| ChartDomain_IDs * | coord_creatorvoid *udata, | ||
| void * | udata, | ||
| const char * | coordinate_system, | ||
| const char * | TopologyName, | ||
| int | IndexDepth, | ||
| int | SkeletonDimensionality, | ||
| int | Dimensionality, | ||
| const hsize_t * | refinement ) |
The central F5Path constructor for write access: Creates the basic F5 structures in the file and sets up an F5Path object for subsequent use. Basically, all the information contained in an F5Path object can be created from the given parameters, however, some complexity arises when modifying some file that already has some structure. In such a case, it must re-use any found structures in a consistent way, especcially it has to use named types instead of intrinsic ones.
| ChartDomain | If a chartdomain is given, i.e. it is used already or stems from another file opening, then we reuse this chart domain, otherwise a new one will be created. The ChartDomain describes all types of the fields in the respective representation group as they are transient in memory. It will become the F5Path's `myChart' member. Specifying the ChartDomain is optional: if it is not given, then the coord_creator() callback function will be used to create a new coordinate object. |
Note that F5LTcreateV() is more general in this respect than F5LTcreate() and F5LTcreateT(): Via the callback function, it allows to create an arbitrary subset of types for the chart domain, whereas F5LTcreate() always assumes that the representation domain is a coordinate system and creates the point, vector, covector and subsequent types for the tangential space. F5LTcreateT(), in contrast, does not create any tangential types (they are set to -1 in the ChartDomain), but only the point type, thus is more suitable for topological representations (cells referring to points, points to refined points, ...). */ if (ChartDomain) { F5printf(31, " increment chart domain references"); f->myChart = ChartDomain; f->myChart->refs++; } else if (coord_creator) { assert(udata); F5printf(31, " using new coordinate creator"); f->myChart = coord_creator(udata);
if (f->myChart) { f->Chart_hid = F5Gappend(f->Charts_hid, coordinate_system); F5printf(31, " append %s\n", coordinate_system); } else F5printf(0, " no chart created, coordinate_system is %s", coordinate_system); } else { F5printf(1, "F5 On Grid [%s] creating a Topological Skeleton [%s] without coordinates and no chart domain [%s], this might be a relative representation.", gridname, TopologyName, coordinate_system); f->myChart = 0; }
if (f->myChart && f->Chart_hid) { hid_t Domain_hid; hid_t GlobalChartAnchor_hid;
char chart_anchor[1024] = "/" FIBER_HDF5_GLOBAL_CHARTS "/"; strcat(chart_anchor, f->myChart->domain_name); strcat(chart_anchor,"/"); strcat(chart_anchor, coordinate_system);
/* Creates an entry in the "global charts" group for all cartesian charts, this is the place to store the named types of cartesian charts.
NOTE: This coordinate/chart reference stuff is planned to be replaced by shared types. This revision will work without links.
Definition at line 410 of file F5LT.c.
References F5Path::Chart_hid, F5Path::Charts_hid, F5Path::ContentsGroup_hid, deleteF5Path(), ChartDomain_IDs::domain_name, F5B_save_global_chart(), F5Bappend_slice(), F5FB_read_global_chart(), F5Gappend(), F5Gexist(), F5Glink(), F5Gtry_to_open(), F5I_add_grid(), F5I_create_contents(), F5LTcreate_topology(), F5LTset_maximal_grid_refinement(), F5printf, F5printf_indent, FIBER_HDF5_CHART_TO_GLOBALCHART_REF, FIBER_HDF5_CHARTS_PER_GRID, FIBER_HDF5_GLOBAL_CHARTS, FIBER_HDF5_GLOBALCHART_COORDINATES, F5Path::field_enum_type_hid, F5Path::FileIDs, F5Path::GlobalChart_hid, F5Path::Grid_hid, H5Gclose, F5Path::myChart, newF5Path(), ChartDomain_IDs::refs, F5Path::Representation_hid, F5Path::Slice_hid, F5Path::Topology_hid, and TopologyName().
Referenced by F5LTcreate().
| F5_API int F5LTget_index_depth | ( | hid_t | Top_hid | ) |
Get the index depth of a certain Topology ID.
Definition at line 21 of file F5LT.c.
References F5_INVALID_INDEX_DEPTH, F5Aget_ints(), F5printf, and FIBER_HDF5_INDEXDEPTH_ATTRIB.
| F5_API int F5LTget_maximal_grid_refinement | ( | hid_t | ContentsGroup_id, |
| const char * | gridname, | ||
| hsize_t * | refinement ) |
Get the maximal refinement level for a certain Grid.
Definition at line 192 of file F5LT.c.
References F5Gappend(), F5LAget_dimensions(), FIBER_CONTENT_GRIDS, FIBER_HDF5_REFINEMENT_INFO, and H5Gclose.
| F5_API int F5LTget_maximal_skeleton_refinement | ( | hid_t | ContentsGroup_id, |
| const char * | gridname, | ||
| hsize_t * | refinement, | ||
| int | IndexDepth, | ||
| int | Dimensionality ) |
Get the maximal refinement level for a certain topological property of a Grid. For example, get the maximum refinement level for faces on a Grid:
Definition at line 211 of file F5LT.c.
References F5Gappend(), F5LAget_dimensions(), FIBER_CONTENT_GRIDS, FIBER_HDF5_REFINEMENT_INFO, and H5Gclose.
| F5_API int F5LTset_maximal_grid_refinement | ( | hid_t | ContentsGroup_id, |
| const char * | gridname, | ||
| int | IndexDepth, | ||
| int | Dimensionality, | ||
| const hsize_t * | refinement ) |
Update the maximal refinement level for a certain Grid.
| IndexDepth | There can be different levels of refinement depending on the topological type of the Skeleton. Usually refinement will only be relevant for vertices, thus IndexDepth=0, but it is also possible for higher dimensional skeletons such as edges, lines, triangles... |
Definition at line 240 of file F5LT.c.
References F5Gappend(), F5LAget_dimensions(), F5LAsave_dimensions(), F5printf, FIBER_CONTENT_GRIDS, FIBER_HDF5_REFINEMENT_INFO, FIBER_MAX_RANK, and H5Gclose.
Referenced by F5LTcreateV().
| F5_API hid_t F5Lwrite | ( | hid_t | R_id, |
| const char * | fieldname, | ||
| int | dimension, | ||
| const hsize_t * | dims, | ||
| hid_t | fieldtype, | ||
| hid_t | memtype, | ||
| const void * | dataPtr, | ||
| hid_t | enum_type, | ||
| hid_t | dcpl_id ) |
| property_id | An HDF5 dataset property ID. If it is negative, then a default property will be created locally via H5Pcreate(H5P_DATASET_CREATE). |
| dimension | The dimensionality of the data set. You may use F5Lwrite1D() as a convenience shortcut for one-dimensional data sets. |
| dims | The extension of the data set. |
| enum_type | The Atomic Field enumeration type that is associated with the current file. Get it via F5LTmake_enum_type(fpath). |
Definition at line 357 of file F5L.c.
References Contiguous, F5Lcreate(), F5printf, F5Tcheck_committed(), and F5Tset_field_enum().
Referenced by F5Fwrite_flexible(), F5Fwrite_fraction(), F5FwriteIMAGE(), F5Lwrite1D(), F5Lwrite_fraction(), F5Lwrite_fraction_external(), and F5Rcreate_uniform_sparse().
| F5_API hid_t F5Lwrite1D | ( | hid_t | R_id, |
| const char * | fieldname, | ||
| hsize_t | nElements, | ||
| hid_t | fieldtype, | ||
| hid_t | memtype, | ||
| const void * | dataPtr, | ||
| hid_t | enum_type, | ||
| hid_t | property_id ) |
Convenience function for writing one-dimensional data. Calls F5Lwrite();
Definition at line 408 of file F5L.c.
References F5Lwrite().
Referenced by F5Fwrite_1D(), F5Rcreate_rectilinear(), F5write_particle_cartesian3Dv(), F5write_particle_cartesian3DvU(), and F5write_particle_double_cartesian3Dv().
| F5_API hid_t F5Lwrite_entity | ( | hid_t | R_id, |
| const char * | fieldname, | ||
| hid_t | fieldtype, | ||
| const void * | value ) |
Write a field that is a constant for all elements.
Definition at line 1029 of file F5L.c.
| F5_API hid_t F5Lwrite_fraction | ( | hid_t | R_id, |
| const char * | fieldname, | ||
| int | dimension, | ||
| const hsize_t * | full_dims, | ||
| const hsize_t * | datasize, | ||
| hid_t | fieldtype, | ||
| hid_t | memtype, | ||
| const void * | dataPtr, | ||
| const hsize_t * | datastart, | ||
| const hsize_t * | start_border, | ||
| const hsize_t * | end_border, | ||
| const char * | fraction_name, | ||
| hid_t | enum_type, | ||
| hid_t | property_id ) |
Write a dataset which only covers a fraction of the entire representation's domain.
| dimension | The dimension of the data set. |
| datastart | The (multidimensional) start index of the saved data set. |
| dataend | The (multidimensional) end index of the saved data set. |
| fraction_name | An optional string to name this fraction. It may be NULL to use an internal default. |
Definition at line 631 of file F5L.c.
References F5Gappend(), F5LAsave_dimensions(), F5Lset_space(), F5Lwrite(), F5printf, F5Xclose(), FIBER_FRAGMENT_NOOVERLAP_END_ATTRIBUTE, FIBER_FRAGMENT_NOOVERLAP_START_ATTRIBUTE, FIBER_FRAGMENT_OFFSET_ATTRIBUTE, and MAX_BLOCKNAME.
Referenced by F5Fwrite_fraction().
| F5_API hid_t F5Lwrite_linear | ( | hid_t | R_id, |
| const char * | fieldname, | ||
| int | dimension, | ||
| const hsize_t * | dims, | ||
| hid_t | fieldtype, | ||
| const void * | base, | ||
| const void * | delta ) |
Write a field that is a linear map from coordinate indices to some data value.
| dims | The extensions of an HDF5 dataspace. |
Write a field that is a linear map from coordinate indices to some data value.
Definition at line 852 of file F5L.c.
References F5Gcreate(), F5Lset_space(), F5printf, F5Tcheck_committed(), FIBER_UNIFORMARRAY_BASE_ATTRIBUTE, and FIBER_UNIFORMARRAY_DELTA_ATTRIBUTE.
Referenced by F5Fwrite_linear(), and F5Fwrite_linear_fraction().
| F5_API hid_t F5LwriteS | ( | hid_t | Container_id, |
| const char * | name, | ||
| int | dimension, | ||
| const hsize_t * | dims, | ||
| hid_t | fieldtype, | ||
| hid_t | memtype, | ||
| const void * | dataPtr, | ||
| hid_t | enum_type, | ||
| hid_t | dcpl_id ) |
Write a contiguous compound data set as separated compound data into the file, which involves data transformation.
Definition at line 418 of file F5L.c.
References F5Dset_type_attribute(), F5Gappend(), F5printf, F5Tcheck_committed(), F5Tset_field_enum(), FIBER_MAX_RANK, H5Tclose(), and SeparatedCompound.
Referenced by F5Lwrite_fractionS().
| F5_API hid_t F5Lwrites | ( | hid_t | R_id, |
| const char * | fieldname, | ||
| int | dimension, | ||
| const hsize_t * | dims, | ||
| hid_t | fieldtype, | ||
| hid_t | memtype, | ||
| const void *const * | dataPtr, | ||
| hid_t | enum_type, | ||
| hid_t | property_id ) |
| enum_type | The Atomic Field enumeration type that is associated with the current file. Get it via F5LTmake_enum_type(fpath). |
Definition at line 1096 of file F5L.c.
References Contiguous, F5Dset_type_attribute(), F5Gcreate(), F5printf, F5Tcheck_committed(), F5Tset_field_enum(), H5Tclose(), and SeparatedCompound.
Referenced by F5FSwrite_fraction(), F5Fwrites(), and F5LSwrite_fraction().