DUNE-FEM (unstable)

Dune::GmshReaderParser< GridType > Class Template Reference

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

template<typename GridType>
class Dune::GmshReaderParser< GridType >

dimension independent parts for GmshReaderParser

Member Function Documentation

◆ pass1HandleElement()

template<typename GridType >
void Dune::GmshReaderParser< GridType >::pass1HandleElement ( FILE *  file,
const int  elm_type,
std::map< int, unsigned int > &  renumber,
const std::vector< GlobalVector > &  nodes 
)
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()

template<typename GridType >
virtual void Dune::GmshReaderParser< GridType >::pass2HandleElement ( FILE *  file,
const int  elm_type,
std::map< int, unsigned int > &  renumber,
const std::vector< GlobalVector > &  nodes,
const int  physical_entity 
)
inlinevirtual

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 20, 23:30, 2024)