Skip to content
Snippets Groups Projects
Select Git revision
  • db0d26e751f6ed073686c4cdfd95da09150c6e63
  • develop default protected
  • feature/gmsh-reader
  • origin/stage/bouguettaia
  • feature/kinetic-schemes
  • feature/reconstruction
  • feature/local-dt-fsi
  • feature/composite-scheme-sources
  • feature/composite-scheme-other-fluxes
  • feature/serraille
  • feature/variational-hydro
  • feature/composite-scheme
  • hyperplastic
  • feature/polynomials
  • feature/gks
  • feature/implicit-solver-o2
  • feature/coupling_module
  • feature/implicit-solver
  • feature/merge-local-dt-fsi
  • master protected
  • feature/escobar-smoother
  • v0.5.0 protected
  • v0.4.1 protected
  • v0.4.0 protected
  • v0.3.0 protected
  • v0.2.0 protected
  • v0.1.0 protected
  • Kidder
  • v0.0.4 protected
  • v0.0.3 protected
  • v0.0.2 protected
  • v0 protected
  • v0.0.1 protected
33 results

main.cpp

Blame
  • example_props.cpp 591 B
    #include <highfive/highfive.hpp>
    
    using namespace HighFive;
    
    int write_data() {
        FileDriver fdrv;
    
        fdrv.add(FileVersionBounds(H5F_LIBVER_LATEST, H5F_LIBVER_LATEST));
        fdrv.add(MetadataBlockSize(10240));
    
        File file("example2.h5", File::Truncate, fdrv);
    
        GroupCreateProps props;
        props.add(EstimatedLinkInfo(1000, 500));
        auto group = file.createGroup("g", props);
    
        DataSetCreateProps dsprops;
        dsprops.add(Chunking(std::vector<hsize_t>{2, 2}));
        dsprops.add(Deflate(9));
    
    
        std::vector<int> d1(100000, 1);
        group.createDataSet("dset1", d1, dsprops);
    }