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"
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.