Logo  0.95.0-final
Finite Element Embedded Library and Language in C++
Feel++ Feel++ on Github Feel++ community
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Feel::Importer< MeshType > Class Template Reference

#include <importer.hpp>

Detailed Description

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
+ Inheritance diagram for Feel::Importer< MeshType >:

Public Types

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
 
- Public Types inherited from Feel::Visitor< MeshType >
typedef void return_type
 

Public Member Functions

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
 
- Public Member Functions inherited from Feel::Visitor< MeshType >
virtual ~Visitor ()
 virtual base destructor
 
virtual return_type visit (MeshType *)=0
 visit a data structure
 
return_type visit (MeshType &__t)
 visit a data structure
 

Constructor & Destructor Documentation

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
filenamemesh filename to import
formatformat of the file

Member Function Documentation

template<typename MeshType >
std::string const& Feel::Importer< MeshType >::filename ( ) const
inline
Returns
the filename
template<typename MeshType >
MeshFormat Feel::Importer< MeshType >::format ( ) const
inline
Returns
the mesh format
template<typename MeshType >
void Feel::Importer< MeshType >::setFilename ( std::string const &  __filename)
inline

set the file name

Parameters
__filename
template<typename MeshType >
void Feel::Importer< MeshType >::setFormat ( MeshFormat const &  __format)
inline

set the format of the mesh file

Parameters
__formatformat
template<typename MeshType >
WorldComm const& Feel::Importer< MeshType >::worldComm ( ) const
inline
Returns
the world comm

The documentation for this class was generated from the following file:

Generated on Fri Oct 25 2013 14:24:30 for Feel++ by doxygen 1.8.4