#include <importergmsh.hpp>
gmsh importer class
the importer concept follows the visitor pattern
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 |
![]() | |
typedef mesh_type::edge_type | edge_type |
typedef mesh_type::element_type | element_type |
typedef mesh_type::face_type | face_type |
typedef MeshType | mesh_type |
typedef point_type::node_type | node_type |
typedef mesh_type::point_type | point_type |
![]() | |
typedef void | return_type |
Public Member Functions | |
void | setElementRegionAsPhysicalRegion (const bool param) |
Constructors, destructor | |
ImporterGmsh (WorldComm const &_worldcomm=Environment::worldComm()) | |
ImporterGmsh (std::string const &_fname, std::string _version=FEELPP_GMSH_FORMAT_VERSION, WorldComm const &_worldcomm=Environment::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 |
![]() | |
std::string const & | filename () const |
MeshFormat | format () const |
Importer (MeshFormat const &_format=GMSH, WorldComm const &_worldcomm=Environment::worldComm()) | |
Importer (std::string const &_filename, MeshFormat const &_format=GMSH, WorldComm const &_worldcomm=Environment::worldComm()) | |
void | setFilename (std::string const &__filename) |
void | setFormat (MeshFormat const &__format) |
WorldComm const & | worldComm () const |
![]() | |
virtual | ~Visitor () |
virtual base destructor | |
return_type | visit (MeshType &__t) |
visit a data structure | |
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 |
boost::tuple< bool, boost::tuple< bool, int > > Feel::ImporterGmsh< MeshType >::isElementOnProcessor | ( | std::vector< int > const & | tags) | const |
|
inline |
setElementRegionAsPhysicalRegion(bool parameter)
change reading for importing specific meshes for which the gmsh reader consider the Physical flag as null
|
inline |
|
static |
|
static |