Feel++
0.91.4
|
Exporter to GNUPLOT format. More...
#include <exportergnuplot.hpp>
Public Types | |
enum | PlottingProperties { GRID_ON = 1, PNG_OUTPUT = 2 } |
Typedefs | |
typedef MeshType | mesh_type |
typedef Exporter< MeshType > | 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 matrix_node < value_type >::type | matrix_node_type |
![]() | |
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 |
![]() | |
typedef void | return_type |
Public Member Functions | |
Constructors, destructor | |
ExporterGnuplot (std::string const &__p="default", int freq=1, int properties=0) | |
ExporterGnuplot (po::variables_map const &vm, std::string const &exp_prefix="", int properties=0) | |
ExporterGnuplot (ExporterGnuplot const &__ex) | |
~ExporterGnuplot () | |
Mutators | |
void | setTitle (std::string const &title) |
void | useGrid (bool grid) |
void | setPngOutput (bool png_output) |
Exporter< MeshType > * | setOptions (po::variables_map const &vm, std::string const &exp_prefix="") |
Methods | |
void | save () const |
void | visit (mesh_type *mesh) |
![]() | |
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, 1 > * | setType (std::string const &__type) |
Exporter< MeshType, 1 > * | addPath (boost::format fmt) |
Exporter< MeshType, 1 > * | setPrefix (std::string const &__prefix) |
Exporter< MeshType, 1 > * | setFreq (int __freq) |
Exporter< MeshType, 1 > * | setFileType (file_type __ft) |
timeset_iterator | beginTimeSet () |
timeset_const_iterator | beginTimeSet () const |
timeset_iterator | endTimeSet () |
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 () |
![]() | |
virtual | ~Visitor () |
virtual base destructor | |
return_type | visit (MeshType &__t) |
visit a data structure |
Additional Inherited Members | |
static Exporter< MeshType, 1 > * | New (std::string const &exportername, std::string prefix="export", WorldComm const &worldComm=WorldComm()) |
static Exporter< MeshType, 1 > * | New (po::variables_map const &vm, std::string prefix="export", WorldComm const &worldComm=WorldComm()) |
![]() | |
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 GNUPLOT format.
This class implements exporting meshes and functions using GNUplot in 1D
enum Feel::ExporterGnuplot::PlottingProperties |
Define enumerations to set plotting properties on construction
Feel::ExporterGnuplot< MeshType >::ExporterGnuplot | ( | std::string const & | __p = "default" , |
int | freq = 1 , |
||
int | properties = 0 |
||
) |
Constructor. To set the properties, we input a bitwise OR of the ExporterGnuplot::PlottingProperties enumerations, e.g. ExporterGnuplot::GRID_ON | ExporterGnuplot::PNG_OUTPUT
|
virtual |
save the timeset
Implements Feel::Exporter< MeshType >.
|
inlinevirtual |
set the options from the variables_map
vm
as well as the prefix exp_prefix
Reimplemented from Feel::Exporter< MeshType >.
References Feel::Exporter< MeshType >::setOptions().
|
inline |
Write output to a .png file useing gnuplot
|
inline |
Set title of plot
|
inline |
Turn grid on or off.
|
virtual |
export mesh
Implements Feel::Visitor< MeshType >.