dimension independent parts for GmshReaderParser
More...
#include <dune/grid/io/file/gmshreader.hh>
|
| GmshReaderParser (Dune::GridFactory< GridType > &_factory, bool v, bool i) |
|
std::vector< int > & | boundaryIdMap () |
|
std::vector< int > & | elementIndexMap () |
|
void | read (const std::string &f) |
|
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...
|
|
template<class E , class V , class V2 > |
void | boundarysegment_insert (const V &, const E &, const V2 &) |
|
template<class E , class V > |
void | boundarysegment_insert (const std::vector< FieldVector< double, 3 > > &nodes, const E &elementDofs, const V &vertices) |
|
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...
|
|
|
void | readfile (FILE *file, int cnt, const char *format, void *t1, void *t2=0, void *t3=0, void *t4=0, void *t5=0, void *t6=0, void *t7=0, void *t8=0, void *t9=0, void *t10=0) |
|
void | skipline (FILE *file) |
|
|
static const int | dim = GridType::dimension |
|
static const int | dimWorld = GridType::dimensionworld |
|
template<typename GridType>
class Dune::GmshReaderParser< GridType >
dimension independent parts for GmshReaderParser
◆ GlobalVector
template<typename GridType >
◆ GmshReaderParser()
template<typename GridType >
◆ boundaryIdMap()
template<typename GridType >
◆ boundarysegment_insert() [1/2]
template<typename GridType >
template<class E , class V >
void Dune::GmshReaderParser< GridType >::boundarysegment_insert |
( |
const std::vector< FieldVector< double, 3 > > & |
nodes, |
|
|
const E & |
elementDofs, |
|
|
const V & |
vertices |
|
) |
| |
|
inline |
◆ boundarysegment_insert() [2/2]
template<typename GridType >
template<class E , class V , class V2 >
◆ elementIndexMap()
template<typename GridType >
◆ 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.
◆ 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 |
Process one element during the second pass through the list of all elements.
This method actually inserts the element into the grid factory.
◆ read()
template<typename GridType >
◆ readfile()
template<typename GridType >
void Dune::GmshReaderParser< GridType >::readfile |
( |
FILE * |
file, |
|
|
int |
cnt, |
|
|
const char * |
format, |
|
|
void * |
t1, |
|
|
void * |
t2 = 0 , |
|
|
void * |
t3 = 0 , |
|
|
void * |
t4 = 0 , |
|
|
void * |
t5 = 0 , |
|
|
void * |
t6 = 0 , |
|
|
void * |
t7 = 0 , |
|
|
void * |
t8 = 0 , |
|
|
void * |
t9 = 0 , |
|
|
void * |
t10 = 0 |
|
) |
| |
|
inlineprotected |
◆ skipline()
template<typename GridType >
◆ boundary_element_count
template<typename GridType >
◆ boundary_id_to_physical_entity
template<typename GridType >
◆ buf
template<typename GridType >
◆ dim
template<typename GridType >
◆ dimWorld
template<typename GridType >
◆ element_count
template<typename GridType >
◆ element_index_to_physical_entity
template<typename GridType >
◆ factory
template<typename GridType >
◆ fileName
template<typename GridType >
◆ insert_boundary_segments
template<typename GridType >
◆ number_of_real_vertices
template<typename GridType >
◆ verbose
template<typename GridType >
The documentation for this class was generated from the following file: