29#ifndef SUPER_VTM_WRITER_2D_H
30#define SUPER_VTM_WRITER_2D_H
50template<
typename T,
typename OUT_T=
float,
typename W=T>
76 void preambleVTI(
const std::string& fullName,
int x0,
int y0,
int x1,
int y1,
77 T originX, T originY, T delta);
79 void closeVTI(
const std::string& fullNamePiece);
81 void preamblePVD(
const std::string& fullNamePVD);
83 void closePVD(
const std::string& fullNamePVD);
85 void preambleVTM(
const std::string& fullNamePVD);
87 void closeVTM(
const std::string& fullNamePVD);
90 void dataVTM(
int iC,
const std::string& fullNamePVD,
const std::string& namePiece);
93 void dataPVDmaster(
int iT,
const std::string& fullNamePVDMaster,
94 const std::string& namePiece);
97 int iC,
int nx,
int ny);
99 void dataArrayBinary(
const std::string& fullName,
SuperF2D<T,W>& f,
100 int iC,
int nx,
int ny);
102 void closePiece(
const std::string& fullNamePiece);
110 std::vector< SuperF2D<T,W>* > _pointerVec;
class for marking output with some text
represents all functors that operate on a SuperStructure<T,2> in general
SuperVTMwriter2D writes any SuperF2D to vtk-based output files.
void createMasterFile()
have to be called before calling write(int iT=0), since it creates
void write(int iT=0)
writes functors stored in pointerVec every thread writes a vti file with data from his cuboids the vt...
SuperVTMwriter2D(std::string name, int overlap=1, bool binary=true)
void clearAddedFunctors()
to clear stored functors, not yet used due to lack of necessity
std::string getName() const
getter for _name
void addFunctor(SuperF2D< T, W > &f)
put functor to _pointerVec to simplify writing process of several functors
Top level namespace for all of OpenLB.