16 #include "boost/version.hpp" 18 #include "multi/array.hpp" 27 template<std::ptrdiff_t D>
28 using extensions =
typename boost::multi::layout_t<D>::extensions_type;
50 hd2.
read(v2,
"boost_multiarray_one_dim");
52 for (
int i = 0; i < v.size(); i++)
bool open(const std::filesystem::path &fname, unsigned flags=H5F_ACC_RDWR)
open a file
helper functions for EinsplineSetBuilder
TEST_CASE("complex_helper", "[type_traits]")
void close()
close all the open groups and file
REQUIRE(std::filesystem::exists(filename))
typename boost::multi::layout_t< D >::extensions_type extensions
bool create(const std::filesystem::path &fname, unsigned flags=H5F_ACC_TRUNC)
create a file
void read(T &data, const std::string &aname)
read the data from the group aname and check status runtime error is issued on I/O error ...
bool writeEntry(T &data, const std::string &aname)
write the data to the group aname and return status use write() for inbuilt error checking ...