DUNE-FEM (unstable)
dimension independent parts for GmshReaderParser More...
#include <dune/grid/io/file/gmshreader.hh>
Public Member Functions | |
std::vector< int > & | elementIndexMap () |
Returns a map for the gmsh physical entity id (1-based index) for each entity of codim 0. | |
std::vector< std::string > & | physicalEntityNames () |
Returns the names of the gmsh physical entities (0-based index) | |
void | pass1HandleElement (FILE *file, const int elm_type, std::map< int, unsigned int > &renumber, const std::vector< GlobalVector > &nodes) |
Process one element during the first pass through the list of all elements. More... | |
virtual void | pass2HandleElement (FILE *file, const int elm_type, std::map< int, unsigned int > &renumber, const std::vector< GlobalVector > &nodes, const int physical_entity) |
Process one element during the second pass through the list of all elements. More... | |
Detailed Description
class Dune::GmshReaderParser< GridType >
dimension independent parts for GmshReaderParser
Member Function Documentation
◆ pass1HandleElement()
|
inline |
Process one element during the first pass through the list of all elements.
Mainly, the method inserts all vertices needed by the current element, unless they have been inserted already for a previous element.
References Dune::formatString(), and Dune::GridFactory< GridType >::insertVertex().
◆ pass2HandleElement()
|
inlinevirtual |
Process one element during the second pass through the list of all elements.
This method actually inserts the element into the grid factory.
References DUNE_THROW, Dune::formatString(), Dune::GeometryTypes::hexahedron, Dune::GridFactory< GridType >::insertBoundarySegment(), Dune::GridFactory< GridType >::insertElement(), Dune::GeometryTypes::line, Dune::GeometryTypes::prism, Dune::GeometryTypes::pyramid, Dune::GeometryTypes::quadrilateral, Dune::GeometryTypes::tetrahedron, and Dune::GeometryTypes::triangle.
The documentation for this class was generated from the following file:
- dune/grid/io/file/gmshreader.hh