OpenLB 1.7
|
BlockVTKwriter3D writes any BLockF3D to vtk-based output files. More...
#include <blockVtkWriter3D.h>
Public Member Functions | |
BlockVTKwriter3D (std::string name, bool binary=true) | |
~BlockVTKwriter3D () | |
void | write (BlockF3D< T > &f, int iT=0) |
method calls preamble(), pointData(), data() and coresponding closing methods. | |
void | write (int iT=0) |
writes functors stored at pointerVec | |
void | addFunctor (BlockF3D< T > &f) |
put functor to _pointerVec to simplify writing process of several functors | |
void | clearAddedFunctors () |
to clear stored functors | |
BlockVTKwriter3D writes any BLockF3D 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 blockVtkWriter3D.h.
olb::BlockVTKwriter3D< T >::BlockVTKwriter3D | ( | std::string | name, |
bool | binary = true ) |
Definition at line 43 of file blockVtkWriter3D.hh.
olb::BlockVTKwriter3D< T >::~BlockVTKwriter3D | ( | ) |
Definition at line 48 of file blockVtkWriter3D.hh.
void olb::BlockVTKwriter3D< T >::addFunctor | ( | BlockF3D< T > & | f | ) |
put functor to _pointerVec to simplify writing process of several functors
Definition at line 113 of file blockVtkWriter3D.hh.
void olb::BlockVTKwriter3D< T >::clearAddedFunctors | ( | ) |
to clear stored functors
Definition at line 119 of file blockVtkWriter3D.hh.
void olb::BlockVTKwriter3D< T >::write | ( | BlockF3D< T > & | f, |
int | iT = 0 ) |
method calls preamble(), pointData(), data() and coresponding closing methods.
writes given functor
Definition at line 90 of file blockVtkWriter3D.hh.
References olb::createFileName(), olb::singleton::directories(), olb::BlockF3D< T >::getBlockStructure(), olb::GenericF< T, S >::getName(), olb::BlockStructureD< D >::getNx(), olb::BlockStructureD< D >::getNy(), olb::BlockStructureD< D >::getNz(), and olb::singleton::Directories::getVtkOutDir().
void olb::BlockVTKwriter3D< T >::write | ( | int | iT = 0 | ) |
writes functors stored at pointerVec
Definition at line 54 of file blockVtkWriter3D.hh.
References olb::createFileName(), olb::singleton::directories(), and olb::singleton::Directories::getVtkOutDir().