30 #define __importer_H 1
58 template<
typename MeshType>
66 typedef MeshType mesh_type;
67 typedef typename mesh_type::point_type point_type;
68 typedef typename point_type::node_type node_type;
69 typedef typename mesh_type::edge_type edge_type;
70 typedef typename mesh_type::face_type face_type;
71 typedef typename mesh_type::element_type element_type;
76 Importer( MeshFormat
const& _format = GMSH, WorldComm
const& _worldcomm = Environment::worldComm() )
78 M_worldComm( _worldcomm ),
88 Importer( std::string
const& _filename, MeshFormat
const& _format = GMSH, WorldComm
const& _worldcomm = Environment::worldComm() )
90 M_worldComm( _worldcomm ),
91 M_filename( _filename ),
104 M_filename = __filename;
144 WorldComm M_worldComm;
147 std::string M_filename;
The base class of any Acyclic Visitor.
Definition: visitor.hpp:52
MeshFormat format() const
Definition: importer.hpp:128
Definition: visitor.hpp:89
WorldComm const & worldComm() const
Definition: importer.hpp:136
void setFormat(MeshFormat const &__format)
Definition: importer.hpp:111
void setFilename(std::string const &__filename)
Definition: importer.hpp:102
Definition: importer.hpp:59
std::string const & filename() const
Definition: importer.hpp:119