bug fixes, some private functions renamed, formating changes
This commit is contained in:
@@ -69,7 +69,6 @@ h5_err_t
|
||||
h5_close_hdf5 (
|
||||
void);
|
||||
|
||||
|
||||
h5_err_t
|
||||
h5_flush_step (
|
||||
const h5_file_t);
|
||||
|
||||
@@ -25,21 +25,21 @@ extern "C" {
|
||||
H5_O_APPEND: allows to append a new datasets to an existing file
|
||||
H5_O_RDWR: dataset may exist
|
||||
*/
|
||||
|
||||
#define H5_O_RDWR 0x001
|
||||
#define H5_O_RDONLY 0x002
|
||||
#define H5_O_WRONLY 0x004
|
||||
#define H5_O_APPEND 0x008
|
||||
#define H5_O_RDWR 0x00000001
|
||||
#define H5_O_RDONLY 0x00000002
|
||||
#define H5_O_WRONLY 0x00000004
|
||||
#define H5_O_APPEND 0x00000008
|
||||
|
||||
#define H5_VFD_MPIPOSIX 0x00000010
|
||||
#define H5_VFD_MPIIO_IND 0x00000020
|
||||
#define H5_VFD_INDEPENDENT H5_VFD_MPIIO_IND // obsolete(?)
|
||||
#define H5_VFD_CORE 0x00000040
|
||||
|
||||
#define H5_FLUSH_FILE 0x040
|
||||
#define H5_FLUSH_STEP 0x080
|
||||
#define H5_FLUSH_DATASET 0x100
|
||||
#define H5_FLUSH_FILE 0x00001000
|
||||
#define H5_FLUSH_STEP 0x00002000
|
||||
#define H5_FLUSH_DATASET 0x00004000
|
||||
|
||||
#define H5_FS_LUSTRE 0x200
|
||||
#define H5_FS_LUSTRE 0x00010000
|
||||
|
||||
#define H5_ID_T H5T_NATIVE_INT64
|
||||
#define H5_FLOAT64_T H5T_NATIVE_DOUBLE
|
||||
|
||||
@@ -44,21 +44,6 @@ h5t_map_glb_elem_indices2loc (
|
||||
h5_loc_idx_t* loc_indices
|
||||
);
|
||||
|
||||
h5_err_t
|
||||
h5t_get_loc_vertex_index_of_vertex (
|
||||
h5t_mesh_t* const m,
|
||||
const h5_loc_id_t entity_id,
|
||||
h5_loc_idx_t* vertex_index
|
||||
);
|
||||
|
||||
h5_err_t
|
||||
h5t_get_loc_vertex_index_of_vertex2 (
|
||||
h5t_mesh_t* const m,
|
||||
const h5_loc_idx_t face_idx,
|
||||
const h5_loc_idx_t elem_idx,
|
||||
h5_loc_idx_t* vertex_indices
|
||||
);
|
||||
|
||||
h5_err_t
|
||||
h5t_get_loc_vertex_indices_of_edge (
|
||||
h5t_mesh_t* const m,
|
||||
|
||||
@@ -42,48 +42,76 @@ h5t_open_triangle_mesh_by_idx (
|
||||
|
||||
h5_err_t
|
||||
h5t_open_triangle_mesh_part (
|
||||
const h5_file_t, const char*, h5t_mesh_t** mesh,
|
||||
const h5_file_t, const char*, h5t_mesh_t**,
|
||||
h5_glb_idx_t*, h5_glb_idx_t);
|
||||
|
||||
h5_lvl_idx_t h5t_is_chunked (h5t_mesh_t* const);
|
||||
h5_lvl_idx_t
|
||||
h5t_is_chunked (
|
||||
h5t_mesh_t* const);
|
||||
|
||||
h5_ssize_t h5t_get_num_trimeshes (const h5_file_t f);
|
||||
h5_ssize_t
|
||||
h5t_get_num_trimeshes (
|
||||
const h5_file_t f);
|
||||
|
||||
h5_ssize_t h5t_get_num_leaf_levels (h5t_mesh_t* const);
|
||||
h5_ssize_t
|
||||
h5t_get_num_leaf_levels (
|
||||
h5t_mesh_t* const);
|
||||
|
||||
h5_ssize_t h5t_get_num_vertices (h5t_mesh_t* const, const h5_id_t);
|
||||
h5_ssize_t
|
||||
h5t_get_num_vertices (
|
||||
h5t_mesh_t* const, const h5_id_t);
|
||||
|
||||
h5_ssize_t h5t_get_num_leaf_elems (h5t_mesh_t* const, const h5_id_t);
|
||||
h5_ssize_t
|
||||
h5t_get_num_leaf_elems (
|
||||
h5t_mesh_t* const, const h5_id_t);
|
||||
|
||||
h5_id_t h5t_add_chunked_tetrahedral_mesh (const h5_file_t, const char* name, h5t_mesh_t**);
|
||||
h5_id_t
|
||||
h5t_add_chunked_tetrahedral_mesh (
|
||||
const h5_file_t, const char*, const h5_weight_t, h5t_mesh_t**);
|
||||
|
||||
h5_id_t h5t_add_triangle_mesh (const h5_file_t, const char*, h5t_mesh_t**);
|
||||
h5_id_t
|
||||
h5t_add_chunked_triangle_mesh (
|
||||
const h5_file_t, const char*, const h5_weight_t, h5t_mesh_t**);
|
||||
|
||||
h5_id_t h5t_add_chunked_triangle_mesh (const h5_file_t, const char*, h5t_mesh_t**);
|
||||
h5_lvl_idx_t
|
||||
h5t_get_level (
|
||||
h5t_mesh_t* const);
|
||||
|
||||
h5_lvl_idx_t h5t_get_level (h5t_mesh_t* const);
|
||||
h5_err_t
|
||||
h5t_open_tetrahedral_mesh (
|
||||
const h5_file_t, const char*, h5t_mesh_t**);
|
||||
|
||||
h5_err_t h5t_open_tetrahedral_mesh (const h5_file_t ,
|
||||
const char*, h5t_mesh_t**);
|
||||
h5_err_t h5t_open_tetrahedral_mesh_by_idx (const h5_file_t ,
|
||||
const h5_id_t, h5t_mesh_t**);
|
||||
h5_err_t
|
||||
h5t_open_tetrahedral_mesh_by_idx (
|
||||
const h5_file_t, const h5_id_t, h5t_mesh_t**);
|
||||
|
||||
h5_err_t h5t_open_triangle_mesh (const h5_file_t,
|
||||
const char*, h5t_mesh_t**);
|
||||
h5_err_t h5t_open_triangle_mesh_by_idx (const h5_file_t,
|
||||
const h5_id_t, h5t_mesh_t**);
|
||||
h5_id_t h5t_add_tetrahedral_mesh (const h5_file_t,
|
||||
const char* name, h5t_mesh_t**);
|
||||
h5_id_t h5t_add_triangle_mesh (const h5_file_t,
|
||||
const char*, h5t_mesh_t**);
|
||||
h5_err_t
|
||||
h5t_open_triangle_mesh (
|
||||
const h5_file_t, const char*, h5t_mesh_t**);
|
||||
|
||||
h5_err_t h5t_set_level (h5t_mesh_t* const, const h5_lvl_idx_t);
|
||||
h5_err_t
|
||||
h5t_open_triangle_mesh_by_idx (
|
||||
const h5_file_t, const h5_id_t, h5t_mesh_t**);
|
||||
|
||||
h5_err_t h5t_set_mesh_changed (h5t_mesh_t* const m);
|
||||
h5_id_t
|
||||
h5t_add_tetrahedral_mesh (
|
||||
const h5_file_t, const char*, const h5_weight_t, h5t_mesh_t**);
|
||||
|
||||
h5_err_t h5t_close_mesh (h5t_mesh_t* const);
|
||||
h5_id_t
|
||||
h5t_add_triangle_mesh (
|
||||
const h5_file_t, const char*, const h5_weight_t, h5t_mesh_t**);
|
||||
|
||||
h5_err_t
|
||||
h5t_set_level (
|
||||
h5t_mesh_t* const, const h5_lvl_idx_t);
|
||||
|
||||
h5_err_t
|
||||
h5t_set_mesh_changed (
|
||||
h5t_mesh_t* const m);
|
||||
|
||||
h5_err_t
|
||||
h5t_close_mesh (
|
||||
h5t_mesh_t* const);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -30,15 +30,11 @@ h5t_end_store_vertices (
|
||||
|
||||
h5_err_t
|
||||
h5t_begin_store_elems (
|
||||
h5t_mesh_t* const, const h5_size_t, const h5_weight_t);
|
||||
h5t_mesh_t* const, const h5_size_t);
|
||||
|
||||
h5_loc_idx_t
|
||||
h5t_store_elem (
|
||||
h5t_mesh_t* const, const h5_loc_idx_t, const h5_loc_idx_t*, const h5_weight_t*);
|
||||
|
||||
h5_loc_idx_t
|
||||
h5t_store_elem2 (
|
||||
h5t_mesh_t* const, const h5_loc_idx_t, const h5_loc_idx_t*, const h5_weight_t*);
|
||||
h5t_add_lvl0_cell (
|
||||
h5t_mesh_t* const, const h5_loc_idx_t*, const h5_weight_t*);
|
||||
|
||||
h5_err_t
|
||||
h5t_end_store_elems (
|
||||
|
||||
@@ -41,7 +41,7 @@ h5u_set_num_particles (
|
||||
|
||||
h5_err_t
|
||||
h5u_has_view (
|
||||
const const h5_file_t);
|
||||
const h5_file_t);
|
||||
|
||||
h5_err_t
|
||||
h5u_reset_view (
|
||||
|
||||
Reference in New Issue
Block a user