Template Numerical Library version\ main:9e7b0f4
Loading...
Searching...
No Matches
TNL::Meshes::Writers::PVTUWriter< Mesh > Class Template Reference
Collaboration diagram for TNL::Meshes::Writers::PVTUWriter< Mesh >:

Public Member Functions

 PVTUWriter (std::ostream &str, VTK::FileFormat format=VTK::FileFormat::zlib_compressed)
std::string addPiece (const std::string &mainFileName, MPI_Comm communicator)
std::string addPiece (const std::string &mainFileName, unsigned subdomainIndex)
template<int EntityDimension = Mesh::getMeshDimension()>
void writeEntities (const DistributedMeshes::DistributedMesh< Mesh > &distributedMesh)
template<int EntityDimension = Mesh::getMeshDimension()>
void writeEntities (const Mesh &mesh, unsigned GhostLevel=0, unsigned MinCommonVertices=0)
void writeMetadata (std::int32_t cycle=-1, double time=-1)
template<typename ValueType>
void writePCellData (const std::string &name, int numberOfComponents=1)
template<typename ValueType>
void writePDataArray (const std::string &name, int numberOfComponents=1)
template<typename ValueType>
void writePPointData (const std::string &name, int numberOfComponents=1)

Protected Member Functions

void closePCellData ()
void closePPointData ()
void openPCellData ()
void openPPointData ()
void writeFooter ()
void writeHeader (unsigned GhostLevel=0, unsigned MinCommonVertices=0)
void writePoints (const Mesh &mesh)

Protected Attributes

VTK::FileFormat format
bool pCellDataClosed = false
bool pCellDataOpen = false
bool pPointDataClosed = false
bool pPointDataOpen = false
std::ostream str
bool vtkfileOpen = false

The documentation for this class was generated from the following files: