Highfive download6/7/2023 ![]() HighFive with disable support for Boost types as well as unit tests (though most examples will build). In case it's unavailable you may use -DHIGHFIVE_USE_BOOST=OFF. See src/examples/ subdirectory for more info. See create_attribute_string_integer.cpp And others See select_partial_dataset_cpp11.cpp Create, write and list HDF5 attributes See boost_ublas_double.cpp Write and read a subset of a 2D double dataset See create_dataset_double.cpp Write and read a matrix of double float (boost::ublas) to a 2D HDF5 dataset Write a 2 dimensional C double float array to a 2D HDF5 dataset This is common in MPI-IO related patterns, or when growing aĭataset over the course of a simulation. Note: For advanced usecases the dataset can be created without immediately Note: H5File.hpp is the top-level header of HighFive core which should be always included. Because `data` has the correct size, this will // not cause `data` to be reallocated: Read back, with allocating: auto data = dataset. We create an empty HDF55 file, by truncating an existing // file if required:Īuto dataset = file. Std::string filename = "/tmp/new_file.h5 "
0 Comments
Leave a Reply. |