Abstract class for custom ASCII writer/flusher of *.vtu mesh external files. More...
#include <VTUGridWriterASCII.hpp>


Public Member Functions | |
VTUFlushStreamerASCII () | |
VTUFlushStreamerASCII (const VTUFlushStreamerASCII &)=default | |
virtual | ~VTUFlushStreamerASCII () |
virtual void | flushData (std::fstream &stream, const std::string &name, bitpit::VTKFormat format=bitpit::VTKFormat::ASCII) |
void | setTargetPatch (bitpit::PatchKernel &patch, bitpit::PiercedStorage< long, long > &vtkVertexMap) |
Detailed Description
Abstract class for custom ASCII writer/flusher of *.vtu mesh external files.
Writer/flusher is focused to mesh data only retained by PatchKernel classes. Abstract class need to provide:
- A custom implementation of flushData method to write bitpit::PatchKernel data on target file.
Definition at line 41 of file VTUGridWriterASCII.hpp.
Constructor & Destructor Documentation
◆ VTUFlushStreamerASCII() [1/2]
mimmo::VTUFlushStreamerASCII::VTUFlushStreamerASCII | ( | ) |
Base Constructor
Definition at line 32 of file VTUGridWriterASCII.cpp.
◆ ~VTUFlushStreamerASCII()
|
virtual |
Base Destructor
Definition at line 40 of file VTUGridWriterASCII.cpp.
◆ VTUFlushStreamerASCII() [2/2]
|
default |
Copy Constructor
Member Function Documentation
◆ flushData()
|
virtual |
Interface for writing data to stream.
- Parameters
-
[in] stream is the stream to write to [in] name is the name of the data to be written. Either user data or patch data [in] format is the format which must be used. This flusher write always ascii.
Definition at line 60 of file VTUGridWriterASCII.cpp.
◆ setTargetPatch()
void mimmo::VTUFlushStreamerASCII::setTargetPatch | ( | bitpit::PatchKernel & | patch, |
bitpit::PiercedStorage< long, long > & | vtkVertexMap | ||
) |
Link the target patch having data to be written
- Parameters
-
[in] patch target patchkernel [in] vtkVertexMap map of vtk vertexindex to be plot.
Definition at line 47 of file VTUGridWriterASCII.cpp.
The documentation for this class was generated from the following files:
- src/core/VTUGridWriterASCII.hpp
- src/core/VTUGridWriterASCII.cpp
