template<typename MeshType, int N = 1>
class Feel::Exporter< MeshType, N >
export Feel generated data to some file formats
Use the visitor and factory pattern.
Here is a snippet on how to use the Exporter class
#include <feel/feelfilters/exporter.hpp>
typedef Exporter<mesh_type> export_type;
typedef boost::shared_ptr<export_type> export_ptrtype;
export_ptrtype exporter( export_type::New( vm );
exporter->step(0)->setMesh( U.functionSpace()->mesh() );
exporter->step(0)->add( "u", U );
- See Also
- Laplacian
- Author
- Christophe Prud'homme
|
|
typedef VisitorBase | super1 |
|
typedef Visitor< MeshType > | super2 |
|
typedef TimeSet< MeshType, N > | timeset_type |
|
typedef timeset_type::mesh_type | mesh_type |
|
typedef timeset_type::mesh_ptrtype | mesh_ptrtype |
|
typedef boost::shared_ptr
< timeset_type > | timeset_ptrtype |
|
typedef std::vector
< timeset_ptrtype > | timeset_set_type |
|
typedef timeset_set_type::iterator | timeset_iterator |
|
typedef
timeset_set_type::const_iterator | timeset_const_iterator |
|
typedef timeset_type::step_type | step_type |
|
typedef timeset_type::step_ptrtype | step_ptrtype |
|
typedef void | return_type |
|
|
|
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) |
|
virtual Exporter< MeshType, N > * | setOptions (std::string const &exp_prefix="") |
|
virtual Exporter< MeshType, N > * | setOptions (po::variables_map const &vm, std::string const &exp_prefix="") FEELPP_DEPRECATED |
|
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) |
|
bool | useSingleTransientFile () const |
|
void | setUseSingleTransientFile (bool s) |
|
void | setMesh (mesh_ptrtype mesh, ExporterGeometry exgeo=EXPORTER_GEOMETRY_CHANGE_COORDS_ONLY) |
|
template<typename F > |
void | add (std::string const &name, F const &u) |
|
void | addRegions () |
|
step_ptrtype | step (double time) |
|
step_ptrtype | step (double time, int s) |
|
|
void | addTimeSet (timeset_ptrtype const &__ts) |
|
virtual void | save () const =0 |
|
void | saveTimeSet () const |
|
void | restart (double __time) |
|
void | setWorldComm (WorldComm const &wc) |
|
WorldComm const & | worldComm () const |
|
ExporterGeometry | exporterGeometry () 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
|
|
|
| Exporter (WorldComm const &worldComm=Environment::worldComm()) |
|
| Exporter (std::string const &type, std::string const &prefix="", int freq=1, WorldComm const &worldComm=Environment::worldComm()) |
|
| Exporter (po::variables_map const &vm, std::string const &exporter_prefix="", WorldComm const &worldComm=Environment::worldComm()) |
|
| Exporter (Exporter const &exporter) |
|
virtual | ~Exporter () |
|
static boost::shared_ptr
< Exporter< MeshType, N > > | New (std::string const &exportername, std::string prefix=Environment::about().appName(), WorldComm const &worldComm=Environment::worldComm()) |
|
static boost::shared_ptr
< Exporter< MeshType, N > > | New (po::variables_map const &vm=Environment::vm(), std::string prefix=Environment::about().appName(), WorldComm const &worldComm=Environment::worldComm()) |
|