- Home
- About DUNE
- Download
- Documentation
- Community
- Development
Read Gmsh mesh file. More...
#include <dune/grid/io/file/gmshreader.hh>
Static Public Member Functions | |
static GridType * | read (const std::string &fileName, bool verbose=true, bool insert_boundary_segments=true) |
static GridType * | read (const std::string &fileName, std::vector< int > &boundary_id_to_physical_entity, std::vector< int > &element_index_to_physical_entity, bool verbose=true, bool insert_boundary_segments=true) |
static GridType * | read (GridType &grid, const std::string &fileName, bool verbose=true, bool insert_boundary_segments=true) |
static GridType * | read (GridType &grid, const std::string &fileName, std::vector< int > &boundary_id_to_physical_entity, std::vector< int > &element_index_to_physical_entity, bool verbose=true, bool insert_boundary_segments=true) |
static void | read (Dune::GridFactory< GridType > &factory, const std::string &fileName, bool verbose=true, bool insert_boundary_segments=true) |
static void | read (Dune::GridFactory< GridType > &factory, const std::string &fileName, std::vector< int > &boundary_id_to_physical_entity, std::vector< int > &element_index_to_physical_entity, bool verbose=true, bool insert_boundary_segments=true) |
Read Gmsh mesh file.
Read a .msh file generated using Gmsh and construct a grid using the grid factory interface.
The file format used by gmsh can hold grids that are more general than the simplex grids that the gmsh grid generator is able to construct. We try to read as many grids as possible, as long as they are valid files. You can test this by checking whether gmsh will load the file and display its content.
All grids in a gmsh file live in three-dimensional Euclidean space. If the world dimension of the grid type that you are reading the file into is less than three, the remaining coordinates are simply ignored.
static GridType* Dune::GmshReader< GridType >::read | ( | const std::string & | fileName, | |
bool | verbose = true , |
|||
bool | insert_boundary_segments = true | |||
) | [inline, static] |
References Dune::GridFactory< GridType >::createGrid(), and Dune::GmshReaderParser< GridType >::read().
Referenced by main().
static void Dune::GmshReader< GridType >::read | ( | Dune::GridFactory< GridType > & | factory, | |
const std::string & | fileName, | |||
std::vector< int > & | boundary_id_to_physical_entity, | |||
std::vector< int > & | element_index_to_physical_entity, | |||
bool | verbose = true , |
|||
bool | insert_boundary_segments = true | |||
) | [inline, static] |
static void Dune::GmshReader< GridType >::read | ( | Dune::GridFactory< GridType > & | factory, | |
const std::string & | fileName, | |||
bool | verbose = true , |
|||
bool | insert_boundary_segments = true | |||
) | [inline, static] |
References Dune::GmshReaderParser< GridType >::read().
static GridType* Dune::GmshReader< GridType >::read | ( | GridType & | grid, | |
const std::string & | fileName, | |||
std::vector< int > & | boundary_id_to_physical_entity, | |||
std::vector< int > & | element_index_to_physical_entity, | |||
bool | verbose = true , |
|||
bool | insert_boundary_segments = true | |||
) | [inline, static] |
static GridType* Dune::GmshReader< GridType >::read | ( | GridType & | grid, | |
const std::string & | fileName, | |||
bool | verbose = true , |
|||
bool | insert_boundary_segments = true | |||
) | [inline, static] |
References Dune::GridFactory< GridType >::createGrid(), and Dune::GmshReaderParser< GridType >::read().
static GridType* Dune::GmshReader< GridType >::read | ( | const std::string & | fileName, | |
std::vector< int > & | boundary_id_to_physical_entity, | |||
std::vector< int > & | element_index_to_physical_entity, | |||
bool | verbose = true , |
|||
bool | insert_boundary_segments = true | |||
) | [inline, static] |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].