Feel++ 0.91.0
|
gmsh importer class More...
#include <importergmsh.hpp>
Public Types | |
Typedefs | |
typedef super::mesh_type | mesh_type |
typedef super::point_type | point_type |
typedef super::node_type | node_type |
typedef super::edge_type | edge_type |
typedef super::face_type | face_type |
typedef super::element_type | element_type |
typedef mesh_type::face_iterator | face_iterator |
Public Member Functions | |
Constructors, destructor | |
ImporterGmsh () | |
ImporterGmsh (std::string const &fname, std::string version=FEEL_GMSH_FORMAT_VERSION) | |
ImporterGmsh (ImporterGmsh const &i) | |
~ImporterGmsh () | |
Accessors | |
std::string | version () const |
Mutators | |
void | setVersion (std::string const &version) |
Methods | |
void | visit (mesh_type *mesh) |
visit a data structure | |
void | showMe () const |
Static Public Attributes | |
Constants | |
static const uint16_type | npoints_per_edge |
static const uint16_type | npoints_per_face |
static const uint16_type | npoints_per_element = element_type::numPoints |
gmsh importer class
the importer concept follows the visitor pattern
typename Mesh2D<LinearTetra> mesh_type; mesh_type mesh; ImporterGmsh<mesh_type> import( "mesh.msh"); mesh.accept( import );
std::string Feel::ImporterGmsh< MeshType >::version | ( | ) | const [inline] |
const uint16_type Feel::ImporterGmsh< MeshType >::npoints_per_edge [static] |
( edge_type::numVertices*edge_type::nbPtsPerVertex+ edge_type::numEdges*edge_type::nbPtsPerEdge+ edge_type::numFaces*edge_type::nbPtsPerFace )
const uint16_type Feel::ImporterGmsh< MeshType >::npoints_per_face [static] |
( face_type::numVertices*face_type::nbPtsPerVertex+ face_type::numEdges*face_type::nbPtsPerEdge+ face_type::numFaces*face_type::nbPtsPerFace )