summaryrefslogtreecommitdiffstats
path: root/c++/examples/h5tutr_extend.cpp
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2013-10-24 23:21:43 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2013-10-24 23:21:43 (GMT)
commit3d5aa0440f457cefec75fee5f3782a054b9a30e5 (patch)
tree6a945c7c1386802474261327e85e00c558610d56 /c++/examples/h5tutr_extend.cpp
parent07a49f439fc44ddec27fd6a25ee0fd52de87ec3c (diff)
downloadhdf5-3d5aa0440f457cefec75fee5f3782a054b9a30e5.zip
hdf5-3d5aa0440f457cefec75fee5f3782a054b9a30e5.tar.gz
hdf5-3d5aa0440f457cefec75fee5f3782a054b9a30e5.tar.bz2
[svn-r24356] Bring revision #24337 from revise_chunks.
h5committested.
Diffstat (limited to 'c++/examples/h5tutr_extend.cpp')
-rw-r--r--c++/examples/h5tutr_extend.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/c++/examples/h5tutr_extend.cpp b/c++/examples/h5tutr_extend.cpp
index c3a18d7..432ca5e 100644
--- a/c++/examples/h5tutr_extend.cpp
+++ b/c++/examples/h5tutr_extend.cpp
@@ -31,7 +31,7 @@
#endif // H5_NO_STD
#endif
-const H5std_string FILE_NAME("extend.h5");
+const H5std_string FILE_NAME("h5tutr_extend.h5");
const H5std_string DATASETNAME("ExtendibleArray");
int main (void)
@@ -130,6 +130,7 @@ int main (void)
if (H5D_CHUNKED == prop.getLayout())
rank_chunk = prop.getChunk(rank, chunk_dimsr);
+ cout << "rank chunk = " << rank_chunk << endl;;
memspace = new DataSpace(rank, dimsr, NULL);
dataset->read(rdata, PredType::NATIVE_INT, *memspace, *filespace);