122e913f08
* read/write call variants for different datatypes * HDF5 properties tuned for lustre filesystems and the Cray XT (enabled using flags passed during file open) * HDF5 chunking for field data * HDF5 alignment (set during file open) * support for both HDF5 1.6 and 1.8 using #if statements * a new error reporting level: debug_detail (HDF5 errors are now printed at debug level 1 by default) These changes have undergone limited testing. I will begin using this version for my H5Part projects so that I can test it more thoroughly. ~Mark
55 lines
754 B
C
55 lines
754 B
C
#ifndef __H5BLOCKPRIVATE_H
|
|
#define __H5BLOCKPRIVATE_H
|
|
|
|
#define H5BLOCK_GROUPNAME_BLOCK "Block"
|
|
|
|
#define INIT( f ) { \
|
|
h5part_int64_t herr = _H5Block_init ( f ); \
|
|
if ( herr < 0 ) return herr; \
|
|
}
|
|
|
|
h5part_int64_t
|
|
_H5Block_init (
|
|
H5PartFile *f
|
|
);
|
|
|
|
h5part_int64_t
|
|
_H5Block_close (
|
|
H5PartFile *f
|
|
);
|
|
|
|
h5part_int64_t
|
|
_H5Block_open_field_group (
|
|
H5PartFile *f,
|
|
const char *name
|
|
);
|
|
|
|
h5part_int64_t
|
|
_H5Block_close_field_group (
|
|
H5PartFile *f
|
|
);
|
|
|
|
h5part_int64_t
|
|
_H5Block_create_field_group (
|
|
H5PartFile *f,
|
|
const char *name
|
|
);
|
|
|
|
h5part_int64_t
|
|
_H5Block_write_data (
|
|
H5PartFile *f,
|
|
const char *name,
|
|
const void *data,
|
|
const hid_t type
|
|
);
|
|
|
|
h5part_int64_t
|
|
_H5Block_read_data (
|
|
H5PartFile *f,
|
|
const char *name,
|
|
void *data,
|
|
hid_t type
|
|
);
|
|
|
|
#endif
|