Dune Core Modules (2.7.1)

Dune::GmshReaderParser< GridType > Class Template Reference

dimension independent parts for GmshReaderParser More...

#include <dune/grid/io/file/gmshreader.hh>

Public Member Functions

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 12, 23:30, 2024)