dune-multidomaingrid 2.9
Loading...
Searching...
No Matches
Dune::GmshReaderParser< Dune::mdgrid::MultiDomainGrid< HostGrid, MDGTraits > > Class Template Reference

#include <dune/grid/multidomaingrid/gmshreader.hh>

Inheritance diagram for Dune::GmshReaderParser< Dune::mdgrid::MultiDomainGrid< HostGrid, MDGTraits > >:
Inheritance graph

Public Types

using Grid = Dune::mdgrid::MultiDomainGrid< HostGrid, MDGTraits >
 

Public Member Functions

 GmshReaderParser (Dune::GridFactory< Grid > &factory, bool v, bool i)
 
void read (const std::string &f)
 
std::vector< int > & boundaryIdMap ()
 
std::vector< int > & elementIndexMap ()
 
void pass1HandleElement (FILE *file, const int elm_type, std::map< int, unsigned int > &renumber, const std::vector< GlobalVector > &nodes)
 
void boundarysegment_insert (const V &, const E &, const V2 &)
 
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)
 

Protected Types

typedef FieldVector< double, dimWorldGlobalVector
 

Protected Member Functions

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)
 

Protected Attributes

Dune::GridFactory< GridType > & factory
 
bool verbose
 
bool insert_boundary_segments
 
unsigned int number_of_real_vertices
 
int boundary_element_count
 
int element_count
 
char buf [512]
 
std::string fileName
 
std::vector< int > boundary_id_to_physical_entity
 
std::vector< int > element_index_to_physical_entity
 

Static Protected Attributes

static const int dim
 
static const int dimWorld
 

Member Typedef Documentation

◆ Grid

template<class HostGrid , class MDGTraits >
using Dune::GmshReaderParser< Dune::mdgrid::MultiDomainGrid< HostGrid, MDGTraits > >::Grid = Dune::mdgrid::MultiDomainGrid<HostGrid, MDGTraits>

Constructor & Destructor Documentation

◆ GmshReaderParser()

template<class HostGrid , class MDGTraits >
Dune::GmshReaderParser< Dune::mdgrid::MultiDomainGrid< HostGrid, MDGTraits > >::GmshReaderParser ( Dune::GridFactory< Grid > &  factory,
bool  v,
bool  i 
)
inline

Member Function Documentation

◆ read()

template<class HostGrid , class MDGTraits >
void Dune::GmshReaderParser< Dune::mdgrid::MultiDomainGrid< HostGrid, MDGTraits > >::read ( const std::string f)
inline

The documentation for this class was generated from the following file: