![]() |
OpenLB 1.8.1
|
#include <vtuPointWriter.h>
Public Member Functions | |
VTUpointWriter (std::string const name, bool binary=false) | |
void | createMasterFile () |
void | write (std::size_t iT, std::vector< Vector< T, 2 > > &new_positions) |
write function to call during runtime, also accepts additional points during call | |
void | write (std::size_t iT) |
void | addFunctor (AnalyticalF2D< T, W > &f, const std::string &name) |
accepts functors to write out | |
void | addFunctor (AnalyticalF2D< T, W > &f) |
void | addFunctor (SuperF2D< T, W > &f, const std::string &name) |
void | addFunctor (SuperF2D< T, W > &f) |
void | addPoint (Vector< T, 2 > &new_position) |
functions to add multiple or single points. | |
void | addPoints (std::vector< olb::Vector< T, 2 > > &new_positions) |
Protected Member Functions | |
void | preamblePVD (const std::string &fullNamePVD) |
void | closePVD (const std::string &fullNamePVD) |
void | preambleVTU (const std::string &fullName, int num) |
performes <VTKFile ...>, <ImageData ...> and <PieceExtent ...> | |
void | closeVTU (const std::string &fullNamePiece) |
performes </ImageData> and </VTKFile> | |
void | dataPVD (int iT, int i, const std::string &fullNamePVD, const std::string &namePiece) |
performes <DataSet timestep= ... file=namePiece > | |
void | dataPVDmaster (int iT, int i, const std::string &fullNamePVDMaster, const std::string &namePiece) |
performes <DataSet timestep= ... file=namePiece > | |
void | dataArray (const std::string &fullName) |
void | writeFunctor (const std::string &fullName, std::ofstream &fout, SuperF2D< T, W > &f) |
interpolates and writes functors stored at functors | |
void | writeAnalyticalFunctor (const std::string &fullName, std::ofstream &fout, AnalyticalF2D< T, W > &f) |
void | writePosition (std::ofstream &fout) |
writes coordinates of points to plot | |
Protected Attributes | |
std::string | _name |
std::vector< SuperF2D< T, W > * > | functors |
std::vector< AnalyticalF2D< T, W > * > | functorsA |
std::vector< Vector< T, 2 > > | pos |
bool | _binary |
OstreamManager | clout |
Definition at line 39 of file vtuPointWriter.h.
olb::VTUpointWriter< T, W, 2 >::VTUpointWriter | ( | std::string const | name, |
bool | binary = false ) |
Definition at line 35 of file vtuPointWriter.hh.
void olb::VTUpointWriter< T, W, 2 >::addFunctor | ( | AnalyticalF2D< T, W > & | f | ) |
Definition at line 47 of file vtuPointWriter.hh.
void olb::VTUpointWriter< T, W, 2 >::addFunctor | ( | AnalyticalF2D< T, W > & | f, |
const std::string & | name ) |
accepts functors to write out
Definition at line 41 of file vtuPointWriter.hh.
References olb::GenericF< T, S >::getName().
void olb::VTUpointWriter< T, W, 2 >::addFunctor | ( | SuperF2D< T, W > & | f | ) |
Definition at line 58 of file vtuPointWriter.hh.
void olb::VTUpointWriter< T, W, 2 >::addFunctor | ( | SuperF2D< T, W > & | f, |
const std::string & | name ) |
Definition at line 52 of file vtuPointWriter.hh.
References olb::GenericF< T, S >::getName().
void olb::VTUpointWriter< T, W, 2 >::addPoint | ( | Vector< T, 2 > & | new_position | ) |
functions to add multiple or single points.
Definition at line 70 of file vtuPointWriter.hh.
void olb::VTUpointWriter< T, W, 2 >::addPoints | ( | std::vector< olb::Vector< T, 2 > > & | new_positions | ) |
Definition at line 63 of file vtuPointWriter.hh.
|
protected |
Definition at line 149 of file vtuPointWriter.hh.
|
protected |
performes </ImageData> and </VTKFile>
Definition at line 183 of file vtuPointWriter.hh.
void olb::VTUpointWriter< T, W, 2 >::createMasterFile | ( | ) |
Definition at line 124 of file vtuPointWriter.hh.
References olb::createFileName(), olb::singleton::directories(), and olb::singleton::Directories::getVtkOutDir().
|
protected |
Definition at line 228 of file vtuPointWriter.hh.
|
protected |
performes <DataSet timestep= ... file=namePiece >
Definition at line 197 of file vtuPointWriter.hh.
|
protected |
performes <DataSet timestep= ... file=namePiece >
Definition at line 210 of file vtuPointWriter.hh.
|
protected |
Definition at line 134 of file vtuPointWriter.hh.
|
protected |
performes <VTKFile ...>, <ImageData ...> and <PieceExtent ...>
Definition at line 163 of file vtuPointWriter.hh.
void olb::VTUpointWriter< T, W, 2 >::write | ( | std::size_t | iT | ) |
void olb::VTUpointWriter< T, W, 2 >::write | ( | std::size_t | iT, |
std::vector< Vector< T, 2 > > & | new_positions ) |
write function to call during runtime, also accepts additional points during call
|
protected |
Definition at line 301 of file vtuPointWriter.hh.
References olb::Base64Encoder< T >::encode(), olb::GenericF< T, S >::getName(), and olb::GenericF< T, S >::getTargetDim().
|
protected |
interpolates and writes functors stored at functors
Definition at line 293 of file vtuPointWriter.hh.
|
protected |
writes coordinates of points to plot
Definition at line 280 of file vtuPointWriter.hh.
|
protected |
Definition at line 45 of file vtuPointWriter.h.
|
protected |
Definition at line 41 of file vtuPointWriter.h.
|
mutableprotected |
Definition at line 46 of file vtuPointWriter.h.
|
protected |
Definition at line 42 of file vtuPointWriter.h.
|
protected |
Definition at line 43 of file vtuPointWriter.h.
|
protected |
Definition at line 44 of file vtuPointWriter.h.