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

Public Member Functions

 VTUWriter (std::ostream &str, VTK::FileFormat format=VTK::FileFormat::zlib_compressed)
 
template<typename Array >
void writeCellData (const Array &array, const std::string &name, int numberOfComponents=1)
 
template<typename Array >
void writeDataArray (const Array &array, const std::string &name, int numberOfComponents=1)
 
template<int EntityDimension = Mesh::getMeshDimension()>
void writeEntities (const Mesh &mesh)
 
void writeMetadata (std::int32_t cycle=-1, double time=-1)
 
template<typename Array >
void writePointData (const Array &array, const std::string &name, int numberOfComponents=1)
 

Protected Member Functions

void closeCellData ()
 
void closePiece ()
 
void closePointData ()
 
void openCellData ()
 
void openPointData ()
 
void writeFooter ()
 
void writeHeader ()
 
void writePoints (const Mesh &mesh)
 

Protected Attributes

bool cellDataClosed = false
 
bool cellDataOpen = false
 
std::uint64_t cellsCount = 0
 
VTK::FileFormat format
 
bool pieceOpen = false
 
bool pointDataClosed = false
 
bool pointDataOpen = false
 
std::uint64_t pointsCount = 0
 
std::ostream str
 
bool vtkfileOpen = false
 

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