36 #ifndef UTILITIES_NEKMESH_OUTPUTGMSH
37 #define UTILITIES_NEKMESH_OUTPUTGMSH
46 bool operator==(NekMeshUtils::ElmtConfig
const &p1, NekMeshUtils::ElmtConfig
const &p2);
48 struct ElmtConfigHash : std::unary_function<NekMeshUtils::ElmtConfig, std::size_t>
53 boost::hash_combine(seed, (
int)el.
m_e );
56 boost::hash_combine(seed, el.
m_order );
86 boost::unordered_map<NekMeshUtils::ElmtConfig, unsigned int, ElmtConfigHash>
elmMap;
bool m_faceNodes
Denotes whether the element contains face nodes. For 2D elements, if this is true then the element co...
Basic information about an element.
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
boost::unordered_map< NekMeshUtils::ElmtConfig, unsigned int, ElmtConfigHash > elmMap
static boost::shared_ptr< Module > create(NekMeshUtils::MeshSharedPtr m)
Creates an instance of this class.
Abstract base class for output modules.
Converter for Gmsh files.
static NekMeshUtils::ModuleKey className
unsigned int m_order
Order of the element.
std::size_t operator()(NekMeshUtils::ElmtConfig const &el) const
bool m_volumeNodes
Denotes whether the element contains volume (i.e. interior) nodes. These are not supported by either ...
boost::shared_ptr< Mesh > MeshSharedPtr
Shared pointer to a mesh.
bool operator==(NekMeshUtils::ElmtConfig const &p1, NekMeshUtils::ElmtConfig const &p2)
virtual void Process()
Write mesh to output file.
std::pair< ModuleType, std::string > ModuleKey
LibUtilities::ShapeType m_e
Element type (e.g. triangle, quad, etc).
OutputGmsh(NekMeshUtils::MeshSharedPtr m)