summaryrefslogtreecommitdiffstats
path: root/src/H5Spkg.h
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-06-18 22:18:29 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-06-18 22:18:29 (GMT)
commit7cf40ce5e484fe9db3ceb804dd6019ef7fb77d6d (patch)
treed5f1ff5b682648c4bfd54e5c4677529249da030c /src/H5Spkg.h
parentb32c1bc3ff629ee15cc165094399dcc928f46b03 (diff)
downloadhdf5-7cf40ce5e484fe9db3ceb804dd6019ef7fb77d6d.zip
hdf5-7cf40ce5e484fe9db3ceb804dd6019ef7fb77d6d.tar.gz
hdf5-7cf40ce5e484fe9db3ceb804dd6019ef7fb77d6d.tar.bz2
[svn-r27246] Remove "clipped" status from unlimited selections, decoupling them from the
extent. Improve algorithm for calculation of VDS extent by removing the need for a temporary copy of a dataspace. Other minor fixes/cleanup. Tested: ummon
Diffstat (limited to 'src/H5Spkg.h')
-rw-r--r--src/H5Spkg.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/H5Spkg.h b/src/H5Spkg.h
index 1359b00..7805777 100644
--- a/src/H5Spkg.h
+++ b/src/H5Spkg.h
@@ -117,18 +117,14 @@ struct H5S_hyper_span_info_t {
typedef struct {
hbool_t diminfo_valid; /* Whether the dataset has valid diminfo */
H5S_hyper_dim_t opt_diminfo[H5S_MAX_RANK]; /* per-dim selection info */
- H5S_hyper_dim_t opt_unlim_diminfo[H5S_MAX_RANK]; /* per-dim selections info */
H5S_hyper_dim_t app_diminfo[H5S_MAX_RANK]; /* per-dim selection info */
/* 'opt_diminfo' points to a [potentially] optimized version of the user's
* hyperslab information. 'app_diminfo' points to the actual parameters
* that the application used for setting the hyperslab selection. These
* are only used for re-gurgitating the original values used to set the
* hyperslab to the application when it queries the hyperslab selection
- * information. 'opt_unlim_diminfo' is similar to opt_diminfo but
- * contains H5S_UNLIMITED in the count or block of the unlimited
- * dimension (if any). */
+ * information. */
int unlim_dim; /* Dimension where selection is unlimited, or -1 if none */
- hssize_t unlim_dim_clip_size; /* Size to which the selection is clipped in unlimited dimension */
hsize_t num_elem_non_unlim; /* # of elements in a "slice" excluding the unlimited dimension */
H5S_hyper_span_info_t *span_lst; /* List of hyperslab span information */
} H5S_hyper_sel_t;
@@ -276,7 +272,7 @@ H5_DLL herr_t H5S_extent_copy_real(H5S_extent_t *dst, const H5S_extent_t *src,
H5_DLL herr_t H5S__hyper_project_intersection(const H5S_t *src_space,
const H5S_t *dst_space, const H5S_t *src_intersect_space,
H5S_t *proj_space);
-H5_DLL herr_t H5S__hyper_subtract (H5S_t *space, H5S_t *subtract_space);
+H5_DLL herr_t H5S__hyper_subtract(H5S_t *space, H5S_t *subtract_space);
/* Testing functions */
#ifdef H5S_TESTING