FiberBundleHDF5  FiberHDF5 Documentation, Revision 2026
High-Performance Fiber Bundle Data Model for Scientific Visualization
Loading...
Searching...
No Matches
F5Bslice.c File Reference
#include "hdf5inc.h"
#include <string.h>
#include "F5B.h"
#include "F5A.h"
#include "F5defs.h"
#include "F5X.h"
#include "F5private.h"

Go to the source code of this file.

Data Structures

struct  slice_info

Functions

hid_t F5BgetMostRecentSlice (double *t, hid_t loc_id, const char **time_attribs)
hid_t F5BgetMostRecentFileSlice (double t, const char *filename)
char * F5I_timegroup (const double *time, char *destbuf, size_t len)
int F5setTimeUnit (hid_t file_id, const F5_TimeParameter *TP)
hid_t F5Bappend_timeslice (hid_t file_id, const F5_TimeParameter *time)
hid_t F5Bappend_slice (hid_t file_id, const double *time)
hid_t F5Bcreate_timetable_type ()
hid_t F5Bget_file_timetable_type (hid_t loc_id)
hsize_t F5Bappend_timetable (hid_t loc_id, hid_t dtype_location_id, const TimeTableEntry *TTE, hsize_t append_dims)
hsize_t F5Bget_timetable_size (hid_t loc_id)
hsize_t F5Bread_timetable (hid_t loc_id, TimeTableEntry *TTE, hsize_t table_size)

Variables

const char * F5_default_time_attrib_names []

Function Documentation

◆ F5Bget_file_timetable_type()

hid_t F5Bget_file_timetable_type ( hid_t loc_id)

Definition at line 192 of file F5Bslice.c.

193{
194hid_t timetable_type_id;
195
196 H5E_BEGIN_TRY
197 timetable_type_id = H5Topen2( loc_id, F5_TIMETABLE_NAME, H5P_DEFAULT );
198 H5E_END_TRY
199 if (F5check_timetable_Type(timetable_type_id) )
200 {
201 return timetable_type_id;
202 }
203
204 timetable_type_id = F5Bcreate_timetable_type();
205
206 H5Tcommit2( loc_id, F5_TIMETABLE_NAME, timetable_type_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
207
208 return timetable_type_id;
209}
#define F5_TIMETABLE_NAME
Definition F5defs.h:150
hid_t F5Bcreate_timetable_type()
Definition F5Bslice.c:167

References F5_TIMETABLE_NAME, and F5Bcreate_timetable_type().

Variable Documentation

◆ F5_default_time_attrib_names

const char* F5_default_time_attrib_names[]
Initial value:
=
{ "time", "Time", "TIME", 0 }

Definition at line 10 of file F5Bslice.c.

10 { "time", "Time", "TIME", 0 };

Referenced by F5BgetMostRecentFileSlice().