1 #pragma once 2 3 #include <petscviewerhdf5.h> 4 #include <petscis.h> 5 6 #if defined(PETSC_HAVE_HDF5) 7 #include <H5Ipublic.h> 8 PETSC_EXTERN PetscErrorCode PetscViewerHDF5ReadSizes(PetscViewer, const char[], PetscInt *, PetscInt *); 9 PETSC_EXTERN PetscErrorCode PetscViewerHDF5Load(PetscViewer, const char *, PetscLayout, hid_t, void **); 10 #endif 11