OpenLB 1.7
|
BlockVTKwriter2D writes any BLockF2D to vtk-based output files. More...
#include <blockVtkWriter2D.h>
Public Member Functions | |
BlockVTKwriter2D (std::string name, bool binary=true) | |
~BlockVTKwriter2D () | |
void | write (int iT=0) |
method calls preamble(), pointData(), data() and coresponding closing methods. | |
void | write (BlockF2D< T > &f, int iT=0) |
writes given functor | |
void | addFunctor (BlockF2D< T > &f) |
put functor to _pointerVec to simplify writing process of several functors | |
void | clearAddedFunctors () |
to clear stored functors | |
BlockVTKwriter2D writes any BLockF2D to vtk-based output files.
One can add functors via addFunctors. To write added functors call write(int iT=0).
To write a functor without adding him, call call write(BlockF3D<T>& f, int iT).
Default output type is binary, to change it have a look on the constructor.
Definition at line 49 of file blockVtkWriter2D.h.
olb::BlockVTKwriter2D< T >::BlockVTKwriter2D | ( | std::string | name, |
bool | binary = true ) |
Definition at line 44 of file blockVtkWriter2D.hh.
olb::BlockVTKwriter2D< T >::~BlockVTKwriter2D | ( | ) |
Definition at line 49 of file blockVtkWriter2D.hh.
void olb::BlockVTKwriter2D< T >::addFunctor | ( | BlockF2D< T > & | f | ) |
put functor to _pointerVec to simplify writing process of several functors
Definition at line 113 of file blockVtkWriter2D.hh.
void olb::BlockVTKwriter2D< T >::clearAddedFunctors | ( | ) |
to clear stored functors
Definition at line 119 of file blockVtkWriter2D.hh.
void olb::BlockVTKwriter2D< T >::write | ( | BlockF2D< T > & | f, |
int | iT = 0 ) |
writes given functor
Definition at line 91 of file blockVtkWriter2D.hh.
References olb::createFileName(), olb::singleton::directories(), olb::BlockF2D< T >::getBlockStructure(), olb::GenericF< T, S >::getName(), olb::BlockStructureD< D >::getNx(), olb::BlockStructureD< D >::getNy(), and olb::singleton::Directories::getVtkOutDir().
void olb::BlockVTKwriter2D< T >::write | ( | int | iT = 0 | ) |
method calls preamble(), pointData(), data() and coresponding closing methods.
writes functors stored at pointerVec
Definition at line 57 of file blockVtkWriter2D.hh.
References olb::createFileName(), olb::singleton::directories(), and olb::singleton::Directories::getVtkOutDir().