Feel++  0.91.4
Feel::ExporterEnsight< MeshType, N > Class Template Reference

exporter to Ensight format More...

#include <exporterensight.hpp>

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

List of all members.

Public Types

Typedefs
typedef MeshType mesh_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

Public Member Functions

Constructors, destructor
 ExporterEnsight (std::string const &__p="default", int freq=1, WorldComm const &worldComm=WorldComm())
 ExporterEnsight (po::variables_map const &vm, std::string const &exp_prefix="", WorldComm const &worldComm=WorldComm())
 ExporterEnsight (ExporterEnsight const &__ex)
 ~ExporterEnsight ()
Accessors
std::string const & elementType () const
Mutators
Exporter< MeshType, N > * setOptions (po::variables_map const &vm, std::string const &exp_prefix="")
Methods
void save () const
void visit (mesh_type *mesh)
 visit a data structure

Detailed Description

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

exporter to Ensight format

Author:
Christophe Prud'homme

Constructor & Destructor Documentation

template<typename MeshType , int N>
Feel::ExporterEnsight< MeshType, N >::ExporterEnsight ( std::string const &  __p = "default",
int  freq = 1,
WorldComm const &  worldComm = WorldComm() 
)

The elements that are supported by the EnSight6 format are:

     1                 1------------------2        1----------2--------3
     point                   two node bar                three node bar


     7
     4-------------3          4-------------3
     3                 |             |          |             |
     3                        /\                |             |          |             |
     /\                      /  \               |             |        8 |             | 6
     /  \               6    /    \  5           |             |          |             |
     /    \                  /      \             |             |          |             |
     /      \                /        \            |             |          |             |
     /        \              /          \           |             |          |      5      |
     /          \            /    4       \          1-------------2          1-------------2
     1------------2           1------------2
     three node triangle       six node triangle       four node quadrangle     eight node quadrangle


     /\
     / |\
     /  |4\
     /   |  \
     /    |   \
     /     |    \
     1------|-----\
     \     |    3/
     \    |    /
     \  2|   /
     \  |  /
     \ | /
     \\2/

     four node tetrahedron
     

Member Function Documentation

template<typename MeshType, int N>
std::string const& Feel::ExporterEnsight< MeshType, N >::elementType ( ) const [inline]
Returns:
the ensight element type
template<typename MeshType , int N>
void Feel::ExporterEnsight< MeshType, N >::save ( ) const [virtual]

save the timeset

Implements Feel::Exporter< MeshType, N >.

template<typename MeshType, int N>
Exporter<MeshType,N>* Feel::ExporterEnsight< 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().