[MOAB-dev] r4450 - MOAB/trunk/src/io
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Fri Jan 14 18:54:43 CST 2011
Author: kraftche
Date: 2011-01-14 18:54:42 -0600 (Fri, 14 Jan 2011)
New Revision: 4450
Modified:
MOAB/trunk/src/io/ReadHDF5.cpp
Log:
simplify reader option for testing modified HDF5 library
Modified: MOAB/trunk/src/io/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5.cpp 2011-01-15 00:09:35 UTC (rev 4449)
+++ MOAB/trunk/src/io/ReadHDF5.cpp 2011-01-15 00:54:42 UTC (rev 4450)
@@ -285,8 +285,11 @@
ReadHDF5Dataset::set_hyperslab_selection_limit( hslimit );
else
ReadHDF5Dataset::default_hyperslab_selection_limit();
- if (MB_SUCCESS == opts.get_null_option( "HYPERSLAB_APPEND" ))
+ if (MB_SUCCESS == opts.get_null_option( "HYPERSLAB_APPEND" )) {
ReadHDF5Dataset::append_hyperslabs();
+ if (MB_SUCCESS != opts.get_int_option( "HYPERSLAB_SELECT_LIMIT", hslimit ))
+ ReadHDF5Dataset::set_hyperslab_selection_limit( std::numeric_limits<int>::max() );
+ }
dataBuffer = (char*)malloc( bufferSize );
if (!dataBuffer)
More information about the moab-dev
mailing list