32 #ifndef _GMSHMESHREADER_H
33 #define _GMSHMESHREADER_H
97 <<
"No data for field: "<< EI_FieldName::qval
98 <<
" and time: "<< EI_Time::val
99 <<
" in the input file: "<< EI_GMSHFile::qval);
std::shared_ptr< std::vector< T > > ComponentDataPtr
void read_nodes(Tokenizer &in, Mesh *)
void read_data_header(Tokenizer &tok, GMSH_DataHeader &head)
void read_physical_names(Tokenizer &in, Mesh *mesh)
GmshMeshReader(const FilePath &file_name)
void read_elements(Tokenizer &in, Mesh *, const RegionDB::MapElementIDToRegionID *el_to_reg_map=NULL)
ElementDataCacheBase * current_cache_
Cache with last read element data.
GMSH_DataHeader & find_header(double time, std::string field_name)
ElementDataCache< T >::ComponentDataPtr get_element_data(GMSH_DataHeader &search_header, std::vector< int > const &el_ids, unsigned int component_idx)
DECLARE_INPUT_EXCEPTION(ExcFieldNameNotFound,<< "No data for field: "<< EI_FieldName::qval<< " and time: "<< EI_Time::val<< " in the input file: "<< EI_GMSHFile::qval)
Dedicated class for storing path to input and output files.
HeaderTable header_table_
Table with data of ElementData headers.
void read_mesh(Mesh *mesh, const RegionDB::MapElementIDToRegionID *el_to_reg_map=NULL)
TYPEDEF_ERR_INFO(EI_FieldName, std::string)
Tokenizer tok_
Tokenizer used for reading ASCII GMSH file format.
std::map< std::string, std::vector< GMSH_DataHeader > > HeaderTable