|
Feel++
0.91.4
|
exporter to Ensight format More...
#include <exporterensight.hpp>
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 Types inherited from Feel::Exporter< MeshType, N > | |
| typedef VisitorBase | super1 |
| typedef Visitor< MeshType > | super2 |
|
typedef std::vector < timeset_ptrtype > | timeset_set_type |
| typedef timeset_type::step_type | step_type |
| typedef timeset_type::step_ptrtype | step_ptrtype |
Public Types inherited from Feel::Visitor< MeshType > | |
| typedef void | return_type |
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 | |
Public Member Functions inherited from Feel::Exporter< MeshType, N > | |
| bool | doExport () const |
| std::string const & | type () const |
| std::string const & | prefix () const |
| int | freq () const |
| int | cptOfSave () const |
| file_type | fileType () const |
| std::string | path () const |
| void | setDoExport (bool do_export) |
| Exporter< MeshType, N > * | setType (std::string const &__type) |
| Exporter< MeshType, N > * | addPath (boost::format fmt) |
| Exporter< MeshType, N > * | setPrefix (std::string const &__prefix) |
| Exporter< MeshType, N > * | setFreq (int __freq) |
| Exporter< MeshType, N > * | setFileType (file_type __ft) |
| timeset_iterator | beginTimeSet () |
| timeset_iterator | endTimeSet () |
| timeset_const_iterator | beginTimeSet () const |
| timeset_const_iterator | endTimeSet () const |
| timeset_ptrtype | defaultTimeSet () |
| timeset_ptrtype | timeSet (int ts) |
| step_ptrtype | step (double time) |
| step_ptrtype | step (double time, int s) |
| void | addTimeSet (timeset_ptrtype const &__ts) |
| void | saveTimeSet () const |
| void | restart (double __time) |
| WorldComm const & | worldComm () const |
| Exporter (std::string const &type, std::string const &prefix="", int freq=1, WorldComm const &worldComm=WorldComm()) | |
| Exporter (po::variables_map const &vm, std::string const &exporter_prefix="", WorldComm const &worldComm=WorldComm()) | |
| Exporter (Exporter const &exporter) | |
| virtual | ~Exporter () |
Public Member Functions inherited from Feel::Visitor< MeshType > | |
| virtual | ~Visitor () |
| virtual base destructor | |
| return_type | visit (MeshType &__t) |
| visit a data structure | |
Additional Inherited Members | |
| static Exporter< MeshType, N > * | New (std::string const &exportername, std::string prefix="export", WorldComm const &worldComm=WorldComm()) |
| static Exporter< MeshType, N > * | New (po::variables_map const &vm, std::string prefix="export", WorldComm const &worldComm=WorldComm()) |
Protected Attributes inherited from Feel::Exporter< MeshType, N > | |
| WorldComm | M_worldComm |
| bool | M_do_export |
| std::string | M_type |
| std::string | M_prefix |
| int | M_freq |
| int | M_cptOfSave |
| file_type | M_ft |
| std::string | M_path |
| timeset_set_type | M_ts_set |
exporter to Ensight format
| 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
|
inline |
|
virtual |
save the timeset
Implements Feel::Exporter< MeshType, N >.
|
inlinevirtual |
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().
1.8.1