aboutsummaryrefslogtreecommitdiff
path: root/CarpetDev/CarpetIOF5_standalone
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2010-05-17 15:01:39 +0200
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:21:10 +0000
commitd3d28d5ce4b2896d09b92253a23fda46ee3bdd73 (patch)
tree03eacc08cf9cc0d4c283db58560017d60a62330e /CarpetDev/CarpetIOF5_standalone
parent4b184603a63657af2a63c9c0e1f72ea4a9d998c0 (diff)
CarpetIOHDF5: Index file support
Scanning the attributes of a large CarpetIOHDF5 output file, as is necessary in the visitCarpetHDF5 plugin, can be very time consuming. This commit adds support for writing an "index" HDF5 file at the same time as the data file, conditional on a parameter "CarpetIOHDF5::output_index". The index file is the same as the data file except it contains null datasets, and hence is very small. The attributes can be read from this index file instead of the data file, greatly increasing performance. The datasets will have size 1 in the index file, so an additional attribute (h5space) is added to the dataset to specify the correct dataset dimensions.
Diffstat (limited to 'CarpetDev/CarpetIOF5_standalone')
0 files changed, 0 insertions, 0 deletions