Flow123d
JS_before_hm-2081-g08ad9c456
|
Go to the documentation of this file.
19 #ifndef _GMSHMESHREADER_H
20 #define _GMSHMESHREADER_H
43 <<
"Missing section " << EI_Section::qval <<
" in the GMSH input file: " << EI_GMSHFile::qval);
45 <<
"Element " << EI_ElementId::val <<
"in the GMSH input file " << EI_GMSHFile::qval
46 <<
" is of the unsupported type " << EI_ElementType::val );
48 <<
"Zero number of nodes, " << EI_Position::val <<
".\n");
50 <<
"Zero number of elements, " << EI_Position::val <<
".\n");
52 <<
"At least two element tags have to be defined for element with id=" << EI_ElementId::val <<
", " << EI_Position::val <<
".\n");
112 bool boundary_domain)
override;
DECLARE_EXCEPTION(ExcMissingSection,<< "Missing section "<< EI_Section::qval<< " in the GMSH input file: "<< EI_GMSHFile::qval)
MeshDataHeader & find_header(HeaderQuery &header_query) override
void make_header_table() override
void read_physical_names(Mesh *mesh) override
Dedicated class for storing path to input and output files.
std::map< std::string, std::vector< MeshDataHeader > > HeaderTable
void read_element_data(ElementDataCacheBase &data_cache, MeshDataHeader actual_header, unsigned int n_components, bool boundary_domain) override
TYPEDEF_ERR_INFO(EI_GMSHFile, std::string)
void read_nodes(Mesh *mesh)
virtual ~GmshMeshReader()
HeaderTable header_table_
Table with data of ElementData headers.
void read_data_header(MeshDataHeader &head)
GmshMeshReader(const FilePath &file_name)
void read_elements(Mesh *mesh)