Integrated H5Part regression test and fixed numerous errors that it discovered.
Finished integrating H5Block and the Fortran interface (untested). Started adding an H5Block regression test with a few simple tests (all pass). Added automatic detection of stripe information on lustre, and config option to compile against lustre API. Moved buffers for H5Block ghost zone disolving out of the file handle and into the h5b_3d_set_view function. Fixed bug with pointers in the H5Fed file data not being initialized to NULL.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef __H5_ATTRIBS_H
|
||||
#define __H5_ATTRIBS_H
|
||||
#ifndef __H5CORE_ATTRIBS_H
|
||||
#define __H5CORE_ATTRIBS_H
|
||||
|
||||
#define H5_ATTRIB_FILE 0
|
||||
#define H5_ATTRIB_STEP 1
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
return h5_error ( \
|
||||
f, \
|
||||
H5_ERR_INVAL, \
|
||||
"Internal error: step_gid <= 0.");
|
||||
"Time step is invalid! Have you set the time step?");
|
||||
|
||||
#define h5_error_not_implemented( f, file, func, lino ) \
|
||||
h5_error( \
|
||||
|
||||
@@ -20,7 +20,7 @@ h5_get_hdf5_groupname_by_idx (
|
||||
hid_t loc_id,
|
||||
hsize_t idx,
|
||||
char *name,
|
||||
size_t size
|
||||
size_t len
|
||||
);
|
||||
|
||||
ssize_t
|
||||
@@ -35,7 +35,7 @@ h5_get_hdf5_datasetname_by_idx (
|
||||
hid_t loc_id,
|
||||
hsize_t idx,
|
||||
char *name,
|
||||
size_t size
|
||||
size_t len
|
||||
);
|
||||
|
||||
const char *
|
||||
|
||||
@@ -68,9 +68,9 @@ h5_err_t
|
||||
h5b_get_field_info_by_name (
|
||||
h5_file_t *const f, /*!< IN: file handle */
|
||||
const char *name, /*!< OUT: field name */
|
||||
h5_size_t *grid_rank, /*!< OUT: grid rank */
|
||||
h5_size_t *grid_dims, /*!< OUT: grid dimensions */
|
||||
h5_size_t *field_rank, /*!< OUT: field rank */
|
||||
h5_size_t *field_dims, /*!< OUT: field dimensions */
|
||||
h5_size_t *elem_rank, /*!< OUT: element rank */
|
||||
h5_int64_t *type /*!< OUT: datatype */
|
||||
);
|
||||
|
||||
@@ -80,9 +80,9 @@ h5b_get_field_info (
|
||||
const h5_size_t idx, /*!< IN: index of field */
|
||||
char *name, /*!< OUT: field name */
|
||||
const h5_size_t len_name, /*!< IN: buffer size */
|
||||
h5_size_t *grid_rank, /*!< OUT: grid rank */
|
||||
h5_size_t *grid_dims, /*!< OUT: grid dimensions */
|
||||
h5_size_t *field_rank, /*!< OUT: field rank */
|
||||
h5_size_t *field_dims, /*!< OUT: field dimensions */
|
||||
h5_size_t *elem_rank, /*!< OUT: element rank */
|
||||
h5_int64_t *type /*!< OUT: datatype */
|
||||
);
|
||||
|
||||
|
||||
@@ -1,67 +1,67 @@
|
||||
#ifndef __H5U_MODEL_H
|
||||
#define __H5U_MODEL_H
|
||||
|
||||
h5_int64_t
|
||||
h5_ssize_t
|
||||
h5u_get_num_particles (
|
||||
h5_file_t *const f
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
h5_err_t
|
||||
h5u_set_num_particles (
|
||||
h5_file_t *const f,
|
||||
const h5_int64_t nparticles,
|
||||
const h5_int64_t stride
|
||||
const h5_size_t nparticles,
|
||||
const h5_size_t stride
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
h5_err_t
|
||||
h5u_has_view (
|
||||
const h5_file_t *const f
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
h5_err_t
|
||||
h5u_reset_view (
|
||||
h5_file_t *const f
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
h5_err_t
|
||||
h5u_set_view (
|
||||
h5_file_t *const f,
|
||||
h5_int64_t start,
|
||||
h5_int64_t end
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
h5_err_t
|
||||
h5u_set_view_indices (
|
||||
h5_file_t *const f,
|
||||
const h5_int64_t *const indices,
|
||||
const h5_int64_t nelems
|
||||
const h5_id_t *const indices,
|
||||
const h5_size_t nelems
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
h5_err_t
|
||||
h5u_get_view (
|
||||
h5_file_t *const f,
|
||||
h5_int64_t *start,
|
||||
h5_int64_t *end
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
h5_err_t
|
||||
h5u_set_canonical_view (
|
||||
h5_file_t *const f
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
h5_ssize_t
|
||||
h5u_get_num_datasets (
|
||||
h5_file_t *const f
|
||||
);
|
||||
|
||||
h5_int64_t
|
||||
h5_err_t
|
||||
h5u_get_dataset_info (
|
||||
h5_file_t *const f,
|
||||
const h5_int64_t idx,
|
||||
const h5_id_t idx,
|
||||
char *dataset_name,
|
||||
const h5_int64_t len_dataset_name,
|
||||
const h5_size_t len_dataset_name,
|
||||
h5_int64_t *type,
|
||||
h5_int64_t *nelem
|
||||
h5_size_t *nelem
|
||||
);
|
||||
|
||||
h5_err_t
|
||||
|
||||
Reference in New Issue
Block a user