19 #ifndef _GMSHMESHREADER_H 20 #define _GMSHMESHREADER_H 89 <<
"No data for field: "<< EI_FieldName::qval
90 <<
" and time: "<< EI_Time::val
91 <<
" in the input file: "<< EI_GMSHFile::qval);
93 <<
"Wrong format of " << EI_Type::val <<
", " << EI_TokenizerMsg::val <<
"\n" 94 <<
"in the input file: " << EI_GMSHFile::qval);
96 <<
"Missing section " << EI_Section::qval <<
" in the GMSH input file: " << EI_GMSHFile::qval);
98 <<
"Element " << EI_ElementId::val <<
"in the GMSH input file " << EI_GMSHFile::qval
99 <<
" is of the unsupported type " << EI_ElementType::val );
130 void read_mesh(
Mesh* mesh);
138 void read_physical_names(
Mesh * mesh);
161 void read_nodes(
Mesh*);
166 void read_elements(
Mesh*);
174 void make_header_table();
std::shared_ptr< std::vector< T > > ComponentDataPtr
ElementDataCacheBase * current_cache_
Cache with last read element data.
#define DECLARE_EXCEPTION(ExcName, Format)
Macro for simple definition of exceptions.
Dedicated class for storing path to input and output files.
HeaderTable header_table_
Table with data of ElementData headers.
#define TYPEDEF_ERR_INFO(EI_Type, Type)
Macro to simplify declaration of error_info types.
DECLARE_INPUT_EXCEPTION(ExcFV_Input,<< "Wrong field value input: "<< EI_InputMsg::val)
Tokenizer tok_
Tokenizer used for reading ASCII GMSH file format.
std::map< std::string, std::vector< GMSH_DataHeader > > HeaderTable