moab
GmshUtil.hpp
Go to the documentation of this file.
00001 
00016 #ifndef GMSH_UTIL_HPP
00017 #define GMSH_UTIL_HPP
00018 
00019 #include "moab/EntityType.hpp"
00020 
00021 namespace moab {
00022 
00027 struct GmshElemType
00028 {
00029   const char* name;      
00030   unsigned gmsh_type;    
00031   EntityType mb_type;  
00032   unsigned num_nodes;    
00033   const int* node_order; 
00034 
00035 
00036 
00037 
00038 };
00039 
00042 class GmshUtil 
00043 {
00044 
00045 public:
00048   static const GmshElemType gmshElemTypes[];
00049   
00051   static const unsigned numGmshElemType;
00052   
00055   static int get_gmsh_type( EntityType type, unsigned num_nodes );
00056 };
00057 
00058 } // namespace moab
00059 
00060 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines