fixed errors found by regression tests:
the H5Fed file data structure can't be created by >1 MPI task, so it is disabled in parallel mode (for now) the H5Block3dSetHalo function was inverting the halo radii the h5b_test wasn't writing the correct data in the halo case
This commit is contained in:
@@ -37,49 +37,51 @@ h5b_3d_has_view (
|
||||
h5_err_t
|
||||
h5b_3d_set_view (
|
||||
h5_file_t *const f, /*!< IN: File handle */
|
||||
const h5_size_t i_start, /*!< IN: start index of \c i */
|
||||
const h5_size_t i_end, /*!< IN: end index of \c i */
|
||||
const h5_size_t j_start, /*!< IN: start index of \c j */
|
||||
const h5_size_t j_end, /*!< IN: end index of \c j */
|
||||
const h5_size_t k_start, /*!< IN: start index of \c k */
|
||||
const h5_size_t k_end /*!< IN: end index of \c k */
|
||||
const h5_int64_t i_start, /*!< IN: start index of \c i */
|
||||
const h5_int64_t i_end, /*!< IN: end index of \c i */
|
||||
const h5_int64_t j_start, /*!< IN: start index of \c j */
|
||||
const h5_int64_t j_end, /*!< IN: end index of \c j */
|
||||
const h5_int64_t k_start, /*!< IN: start index of \c k */
|
||||
const h5_int64_t k_end /*!< IN: end index of \c k */
|
||||
);
|
||||
|
||||
h5_err_t
|
||||
h5b_3d_get_view (
|
||||
h5_file_t *const f, /*!< IN: File handle */
|
||||
h5_size_t *i_start, /*!< OUT: start index of \c i */
|
||||
h5_size_t *i_end, /*!< OUT: end index of \c i */
|
||||
h5_size_t *j_start, /*!< OUT: start index of \c j */
|
||||
h5_size_t *j_end, /*!< OUT: end index of \c j */
|
||||
h5_size_t *k_start, /*!< OUT: start index of \c k */
|
||||
h5_size_t *k_end /*!< OUT: end index of \c k */
|
||||
h5_int64_t *i_start, /*!< OUT: start index of \c i */
|
||||
h5_int64_t *i_end, /*!< OUT: end index of \c i */
|
||||
h5_int64_t *j_start, /*!< OUT: start index of \c j */
|
||||
h5_int64_t *j_end, /*!< OUT: end index of \c j */
|
||||
h5_int64_t *k_start, /*!< OUT: start index of \c k */
|
||||
h5_int64_t *k_end /*!< OUT: end index of \c k */
|
||||
);
|
||||
|
||||
h5_err_t
|
||||
h5b_3d_get_reduced_view (
|
||||
h5_file_t *const f, /*!< IN: File handle */
|
||||
h5_size_t *i_start, /*!< OUT: start index of \c i */
|
||||
h5_size_t *i_end, /*!< OUT: end index of \c i */
|
||||
h5_size_t *j_start, /*!< OUT: start index of \c j */
|
||||
h5_size_t *j_end, /*!< OUT: end index of \c j */
|
||||
h5_size_t *k_start, /*!< OUT: start index of \c k */
|
||||
h5_size_t *k_end /*!< OUT: end index of \c k */
|
||||
h5_int64_t *i_start, /*!< OUT: start index of \c i */
|
||||
h5_int64_t *i_end, /*!< OUT: end index of \c i */
|
||||
h5_int64_t *j_start, /*!< OUT: start index of \c j */
|
||||
h5_int64_t *j_end, /*!< OUT: end index of \c j */
|
||||
h5_int64_t *k_start, /*!< OUT: start index of \c k */
|
||||
h5_int64_t *k_end /*!< OUT: end index of \c k */
|
||||
);
|
||||
|
||||
h5_err_t
|
||||
h5b_3d_set_chunk (
|
||||
h5_file_t *const f, /*!< IN: File handle */
|
||||
const h5_size_t i, /*!< IN: size of \c i */
|
||||
const h5_size_t j, /*!< IN: size of \c j */
|
||||
const h5_size_t k /*!< IN: size of \c k */
|
||||
const h5_int64_t i, /*!< IN: size of \c i */
|
||||
const h5_int64_t j, /*!< IN: size of \c j */
|
||||
const h5_int64_t k /*!< IN: size of \c k */
|
||||
);
|
||||
|
||||
h5_err_t
|
||||
h5b_3d_get_chunk (
|
||||
h5_file_t *const f, /*!< IN: File handle */
|
||||
const char *field_name, /*!< IN: name of dataset */
|
||||
h5_size_t *dims /*!< OUT: array containing the chunk dimensions */
|
||||
h5_int64_t *i, /*!< OUT: size of \c i */
|
||||
h5_int64_t *j, /*!< OUT: size of \c j */
|
||||
h5_int64_t *k /*!< OUT: size of \c k */
|
||||
);
|
||||
|
||||
h5_err_t
|
||||
|
||||
Reference in New Issue
Block a user