Custom writer of ASCII unstructured grids to external files *.vtu. More...
#include <VTUGridWriterASCII.hpp>
Public Member Functions | |
VTUGridWriterASCII (VTUFlushStreamerASCII &streamer, bitpit::PatchKernel &patch, bitpit::VTKElementType eltype=bitpit::VTKElementType::UNDEFINED) | |
~VTUGridWriterASCII () | |
void | write (const std::string &dir, const std::string &file, bitpit::VTKWriteMode mode=bitpit::VTKWriteMode::DEFAULT) |
Detailed Description
Custom writer of ASCII unstructured grids to external files *.vtu.
Writer of bitpit::PatchKernel 's as unstructured grids to external files *.vtu in ASCII format only.
Definition at line 63 of file VTUGridWriterASCII.hpp.
Constructor & Destructor Documentation
◆ VTUGridWriterASCII()
mimmo::VTUGridWriterASCII::VTUGridWriterASCII | ( | VTUFlushStreamerASCII & | streamer, |
bitpit::PatchKernel & | patch, | ||
bitpit::VTKElementType | eltype = bitpit::VTKElementType::UNDEFINED |
||
) |
Base constructor. Linked reference bitpit::PatchKernel container must be empty. If not, class will provide to destroy its previous contents and fill it with new read values.
- Parameters
-
[in] streamer streaming class to absorb VTK data. [in] patch reference to empty container for storing mesh data. [in] eltype [optional] force the elementtype of the grid.
Definition at line 226 of file VTUGridWriterASCII.cpp.
◆ ~VTUGridWriterASCII()
mimmo::VTUGridWriterASCII::~VTUGridWriterASCII | ( | ) |
Basic Destructor
Definition at line 312 of file VTUGridWriterASCII.cpp.
Member Function Documentation
◆ write()
void mimmo::VTUGridWriterASCII::write | ( | const std::string & | dir, |
const std::string & | file, | ||
bitpit::VTKWriteMode | mode = bitpit::VTKWriteMode::DEFAULT |
||
) |
Write to file. Overloading of VTK::write();
- Parameters
-
[in] dir path to write. [in] file name of file to write. [in] mode vtk writing mode.
Definition at line 320 of file VTUGridWriterASCII.cpp.
The documentation for this class was generated from the following files:
- src/core/VTUGridWriterASCII.hpp
- src/core/VTUGridWriterASCII.cpp