DUNE PDELab (2.8)
gridinfo-gmsh-main.hh File Reference
Generic main() function for printing information about a mesh read from a .msh-file. More...
#include <cstddef>
#include <cstdlib>
#include <exception>
#include <iostream>
#include <memory>
#include <ostream>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
#include <dune/common/classname.hh>
#include <dune/common/exceptions.hh>
#include <dune/common/parallel/mpihelper.hh>
#include <dune/grid/io/file/gmshreader.hh>
#include <dune/grid/utility/gridinfo.hh>
Go to the source code of this file.
Detailed Description
Generic main() function for printing information about a mesh read from a .msh-file.
- Date
- 2011
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>
Generic main() function for printing information about a mesh read from a .msh-file.
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.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 22, 23:30, 2024)