7ea00c38f8
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.
82 lines
1.1 KiB
C
82 lines
1.1 KiB
C
#ifndef __H5U_MODEL_H
|
|
#define __H5U_MODEL_H
|
|
|
|
h5_ssize_t
|
|
h5u_get_num_particles (
|
|
h5_file_t *const f
|
|
);
|
|
|
|
h5_err_t
|
|
h5u_set_num_particles (
|
|
h5_file_t *const f,
|
|
const h5_size_t nparticles,
|
|
const h5_size_t stride
|
|
);
|
|
|
|
h5_err_t
|
|
h5u_has_view (
|
|
const h5_file_t *const f
|
|
);
|
|
|
|
h5_err_t
|
|
h5u_reset_view (
|
|
h5_file_t *const f
|
|
);
|
|
|
|
h5_err_t
|
|
h5u_set_view (
|
|
h5_file_t *const f,
|
|
h5_int64_t start,
|
|
h5_int64_t end
|
|
);
|
|
|
|
h5_err_t
|
|
h5u_set_view_indices (
|
|
h5_file_t *const f,
|
|
const h5_id_t *const indices,
|
|
const h5_size_t nelems
|
|
);
|
|
|
|
h5_err_t
|
|
h5u_get_view (
|
|
h5_file_t *const f,
|
|
h5_int64_t *start,
|
|
h5_int64_t *end
|
|
);
|
|
|
|
h5_err_t
|
|
h5u_set_canonical_view (
|
|
h5_file_t *const f
|
|
);
|
|
|
|
h5_ssize_t
|
|
h5u_get_num_datasets (
|
|
h5_file_t *const f
|
|
);
|
|
|
|
h5_err_t
|
|
h5u_get_dataset_info (
|
|
h5_file_t *const f,
|
|
const h5_id_t idx,
|
|
char *dataset_name,
|
|
const h5_size_t len_dataset_name,
|
|
h5_int64_t *type,
|
|
h5_size_t *nelem
|
|
);
|
|
|
|
h5_err_t
|
|
h5u_set_chunk (
|
|
h5_file_t *const f,
|
|
const h5_size_t size
|
|
);
|
|
|
|
h5_err_t
|
|
h5u_get_chunk (
|
|
h5_file_t *const f,
|
|
const char *name,
|
|
h5_size_t *size
|
|
);
|
|
|
|
#endif
|
|
|