37 #ifndef _GMSHMESHREADER_HPP_ 38 #define _GMSHMESHREADER_HPP_ 43 #include "AbstractMeshReader.hpp" 58 QUADRATIC_TRIANGLE = 9u,
60 QUADRATIC_TETRAHEDRON = 11u
67 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
82 unsigned orderOfElements = 1,
83 unsigned orderOfBoundaryElements = 1);
91 unsigned GetNumElements()
const;
94 unsigned GetNumNodes()
const;
97 unsigned GetNumFaces()
const;
100 unsigned GetNumCableElements()
const;
103 unsigned GetNumElementAttributes()
const;
106 unsigned GetNumFaceAttributes()
const;
109 unsigned GetNumCableElementAttributes()
const;
112 unsigned GetOrderOfElements();
115 unsigned GetOrderOfBoundaryElements();
121 std::vector<double> GetNextNode();
135 std::vector<double> GetNodeAttributes();
143 std::vector<double> GetNode(
unsigned index);
166 void ReadNodeHeader();
169 void ReadElementHeader();
172 void ReadFaceHeader();
199 #endif //_GMSHMESHREADER_HPP_ unsigned mOrderOfBoundaryElements
unsigned mNodesPerBoundaryElement
unsigned mTotalNumElementsAndFaces
unsigned mNumElementAttributes
std::ifstream mElementFile
unsigned mNumFaceAttributes
unsigned mOrderOfElements
unsigned mNodesPerElement