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