Template Numerical Library version\ main:94209208
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TNL::Meshes::Writers::VTUWriter< Mesh > Class Template Reference
Collaboration diagram for TNL::Meshes::Writers::VTUWriter< Mesh >:
Collaboration graph
[legend]

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: