29#ifndef SUPER_VTM_WRITER_3D_H
30#define SUPER_VTM_WRITER_3D_H
50template<
typename T,
typename OUT_T=
float,
typename W=T>
54 SuperVTMwriter3D(
const std::string& name,
int overlap = 1,
bool binary=
true,
bool compress=
true );
57 const std::string& name,
int overlap = 1,
bool binary=
true,
bool compress=
true );
97 void closeVTI(
const std::string& fullNamePiece);
99 void preamblePVD(
const std::string& fullNamePVD);
101 void closePVD(
const std::string& fullNamePVD);
103 void preambleVTM(
const std::string& fullNamePVD);
105 void closeVTM(
const std::string& fullNamePVD);
108 void dataVTM(
int iC,
const std::string& fullNamePVD,
const std::string& namePiece);
111 void dataPVDmaster(
int iT,
const std::string& fullNamePVDMaster,
112 const std::string& namePiece);
114 void dataArray(
const std::string& fullName,
SuperF3D<T,W>& f,
117 void closePiece(
const std::string& fullNamePiece);
123 std::string
const _name;
125 std::vector< SuperF3D<T,W>* > _pointerVec;
A cuboid geometry represents a voxel mesh.
class for marking output with some text
represents all functors that operate on a SuperStructure<T,3> in general
SuperVTMwriter3D writes any SuperF3D to vtk-based output files.
std::string getName() const
getter for _name
void write(int iT=0)
writes functors stored in pointerVec every process writes a vti file with data for each of its cuboid...
void createMasterFile()
have to be called before calling write(int iT=0), since it creates
void writeGlobalVTI(int iT, int iC)
writes the vti file for cuboid iC at timestep iT
void clearAddedFunctors()
to clear stored functors, not yet used due to lack of necessity
SuperVTMwriter3D(const std::string &name, int overlap=1, bool binary=true, bool compress=true)
Construct writer for functor output.
void addFunctor(SuperF3D< T, W > &f)
put functor to _pointerVec to simplify writing process of several functors
void writeVTI(int iT, int iCloc)
writes the vti file for cuboid iCloc at timestep iT
void writePVD(int iT)
writes only the linking pvd file for timestep iT, blocks must be written separately (e....
Top level namespace for all of OpenLB.