Feel++ 0.91.0

Feel::ImporterGmsh< MeshType > Class Template Reference

gmsh importer class More...

#include <importergmsh.hpp>

Inheritance diagram for Feel::ImporterGmsh< MeshType >:
Feel::Importer< MeshType > Feel::VisitorBase Feel::Visitor< MeshType >

List of all members.

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

Detailed Description

template<typename MeshType>
class Feel::ImporterGmsh< MeshType >

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 );
Author:
Christophe Prud'homme

Member Function Documentation

template<typename MeshType >
std::string Feel::ImporterGmsh< MeshType >::version ( ) const [inline]
Returns:
the file format version

Member Data Documentation

template<typename MeshType >
const uint16_type Feel::ImporterGmsh< MeshType >::npoints_per_edge [static]
Initial value:
 ( edge_type::numVertices*edge_type::nbPtsPerVertex+
                                                  edge_type::numEdges*edge_type::nbPtsPerEdge+
                                                  edge_type::numFaces*edge_type::nbPtsPerFace )
template<typename MeshType >
const uint16_type Feel::ImporterGmsh< MeshType >::npoints_per_face [static]
Initial value:
 ( face_type::numVertices*face_type::nbPtsPerVertex+
                                                  face_type::numEdges*face_type::nbPtsPerEdge+
                                                  face_type::numFaces*face_type::nbPtsPerFace )