#include <importer.hpp>
template<typename MeshType>
class Feel::Importer< MeshType >
import mesh data formats into Feel mesh data structure.
- Author
- Christophe Prud'homme chris.nosp@m.toph.nosp@m.e.pru.nosp@m.dhom.nosp@m.me@fe.nosp@m.elpp.nosp@m..org
|
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 |
|
|
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
|
|
virtual return_type | visit (MeshType *)=0 |
| visit a data structure
|
|
return_type | visit (MeshType &__t) |
| visit a data structure
|
|
template<typename MeshType >
Feel::Importer< MeshType >::Importer |
( |
MeshFormat const & |
_format = GMSH , |
|
|
WorldComm const & |
_worldcomm = Environment::worldComm() |
|
) |
| |
|
inline |
default constructor. use GMSH as default mesh format
template<typename MeshType >
Feel::Importer< MeshType >::Importer |
( |
std::string const & |
_filename, |
|
|
MeshFormat const & |
_format = GMSH , |
|
|
WorldComm const & |
_worldcomm = Environment::worldComm() |
|
) |
| |
|
inline |
constructor
- Parameters
-
filename | mesh filename to import |
format | format of the file |
template<typename MeshType >
template<typename MeshType >
template<typename MeshType >
void Feel::Importer< MeshType >::setFilename |
( |
std::string const & |
__filename) | |
|
|
inline |
set the file name
- Parameters
-
template<typename MeshType >
void Feel::Importer< MeshType >::setFormat |
( |
MeshFormat const & |
__format) | |
|
|
inline |
set the format of the mesh file
- Parameters
-
template<typename MeshType >
The documentation for this class was generated from the following file: