Commits

Jed Brown committed 2ca47ae

PetscViewerHDF5: examples that use HDF5 must include petscviewerhdf5.h

Comments (0)

Files changed (5)

src/dm/examples/tests/ex33.c

 static char help[] = "Tests VecView()/VecLoad() for DMDA vectors (this tests DMDAGlobalToNatural()).\n\n";
 
 #include <petscdmda.h>
+#include <petscviewerhdf5.h>
 
 #undef __FUNCT__
 #define __FUNCT__ "main"

src/dm/examples/tutorials/ex10.c

 
 #include <petscdmda.h>
 #include <petscsys.h>
+#include <petscviewerhdf5.h>
 
 static char help[] = "Test to write HDF5 file from PETSc DMDA Vec.\n\n";
 

src/dm/examples/tutorials/ex9.c

 T*/
 #include <petscsys.h>
 #include <petscdmda.h>
-
+#include <petscviewerhdf5.h>
 
 #undef __FUNCT__
 #define __FUNCT__ "main"

src/dm/impls/mesh/examples/tutorials/fvTest.cxx

 static char help[] = "This example reads in a FVM mesh for PFLOTRAN.\n\n";
 
 #include <petscmesh.hh>
+#include <petscviewerhdf5.h>
 
 /*
 Barry and Matt,

src/vec/vec/examples/tutorials/ex19.c

 T*/
 
 #include <petscvec.h>
+#include <petscviewerhdf5.h>
 
 #undef __FUNCT__
 #define __FUNCT__ "main"