- Home
- About DUNE
- Download
- Documentation
- Community
- Development
Generic main() function for printing information about a mesh read from a .msh-file. More...
Go to the source code of this file.
Generic main() function for printing information about a mesh read from a .msh-file.
This header contains a generic main() function. To use it for your grid, write a .cc file like this:
#ifdef HAVE_CONFIG_H #include "config.h" #endif #include <string> #include <dune/grid/mygrid.hh> const std::string programName = "dune-gridinfo-gmsh-mygrid-3d"; typedef Dune::MyGrid<3> Grid; #include <dune/grid/utility/gridinfo-gmsh-main.hh>
Write an automake target for your program as usual. No special libraries are needed for you program, beyond what is needed for the grid in question.
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].