Feel++
0.91.4
|
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 | |
void | setElementRegionAsPhysicalRegion (const bool param) |
Constructors, destructor | |
ImporterGmsh (WorldComm const &_worldcomm=WorldComm()) | |
ImporterGmsh (std::string const &_fname, std::string _version=FEELPP_GMSH_FORMAT_VERSION, WorldComm const &_worldcomm=WorldComm()) | |
ImporterGmsh (ImporterGmsh const &i) | |
~ImporterGmsh () | |
Accessors | |
std::string | version () const |
boost::tuple< bool, boost::tuple< bool, int > > | isElementOnProcessor (std::vector< int > const &tags) const |
Mutators | |
void | setVersion (std::string const &version) |
void | setIgnorePhysicalGroup (int i) |
void | setIgnorePhysicalName (std::string s) |
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 );
boost::tuple< bool, boost::tuple< bool, int > > Feel::ImporterGmsh< MeshType >::isElementOnProcessor | ( | std::vector< int > const & | tags | ) | const |
void Feel::ImporterGmsh< MeshType >::setElementRegionAsPhysicalRegion | ( | const bool | param | ) | [inline] |
setElementRegionAsPhysicalRegion(bool parameter)
change reading for importing specific meshes for which the gmsh reader consider the Physical flag as null
Referenced by Feel::BOOST_PARAMETER_FUNCTION().
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 )