Feel++ 0.91.0
Feel::ExporterGmsh< MeshType, N > Class Template Reference

Exporter to GMSH format. More...

#include <exportergmsh.hpp>

Inheritance diagram for Feel::ExporterGmsh< MeshType, N >:
Feel::Exporter< MeshType, N > Feel::VisitorBase Feel::Visitor< MeshType >

List of all members.

Public Types

Typedefs
typedef MeshType mesh_type
typedef boost::shared_ptr
< mesh_type > 
mesh_ptrtype
typedef
mesh_type::point_const_iterator 
point_const_iterator
typedef Exporter< MeshType, N > super
typedef mesh_type::value_type value_type
typedef super::timeset_type timeset_type
typedef super::timeset_ptrtype timeset_ptrtype
typedef super::timeset_iterator timeset_iterator
typedef
super::timeset_const_iterator 
timeset_const_iterator
typedef timeset_type::step_type step_type
typedef timeset_type::step_ptrtype step_ptrtype
typedef
timeset_type::step_const_iterator 
step_const_iterator
typedef matrix_node
< value_type >::type 
matrix_node_type

Public Member Functions

Constructors, destructor
 ExporterGmsh (std::string const &__p="default", int freq=1)
 ExporterGmsh (po::variables_map const &vm, std::string const &exp_prefix="")
 ExporterGmsh (ExporterGmsh const &__ex)
 ~ExporterGmsh ()
Mutators
Exporter< MeshType, N > * setOptions (po::variables_map const &vm, std::string const &exp_prefix="")
Methods
void save () const
void visit (mesh_type *mesh)
void saveMesh (std::string const &filename, mesh_ptrtype mesh, bool parametric=false) const
void gmshSaveAscii () const
void gmshSaveFormat (std::ostream &out, std::string const &version=FEEL_GMSH_FORMAT_VERSION) const
void gmshSavePhysicalNames (std::ostream &out, mesh_ptrtype mesh) const
void gmshSaveNodes (std::ostream &out, mesh_ptrtype mesh, bool parametric=false) const
void gmshSaveElements (std::ostream &out, mesh_ptrtype __mesh) const
void gmshSaveNodeData (std::ostream &out, step_ptrtype __step) const
void gmshSaveElementNodeData (std::ostream &out, step_ptrtype __step) const

Detailed Description

template<typename MeshType, int N>
class Feel::ExporterGmsh< MeshType, N >

Exporter to GMSH format.

Author:
Christophe Prud'homme

Member Function Documentation

template<typename MeshType , int N>
void Feel::ExporterGmsh< MeshType, N >::save ( ) const [virtual]

save the timeset

Implements Feel::Exporter< MeshType, N >.

template<typename MeshType , int N>
void Feel::ExporterGmsh< MeshType, N >::saveMesh ( std::string const &  filename,
mesh_ptrtype  mesh,
bool  parametric = false 
) const

save the mesh to the file filename

Referenced by Feel::BOOST_PARAMETER_FUNCTION().

template<typename MeshType, int N>
Exporter<MeshType,N>* Feel::ExporterGmsh< MeshType, N >::setOptions ( po::variables_map const &  vm,
std::string const &  exp_prefix = "" 
) [inline, virtual]

set the options from the variables_map vm as well as the prefix exp_prefix

Reimplemented from Feel::Exporter< MeshType, N >.

References Feel::Exporter< MeshType, N >::setOptions().

Referenced by Feel::Exporter< MeshType, N >::New().

template<typename MeshType , int N>
void Feel::ExporterGmsh< MeshType, N >::visit ( mesh_type *  mesh) [virtual]

export mesh

Implements Feel::Visitor< MeshType >.