Abstract class for custom reader/absorber of *.vtu mesh external files. More...
#include <VTUGridReader.hpp>


Public Member Functions | |
VTUAbsorbStreamer () | |
VTUAbsorbStreamer (const VTUAbsorbStreamer &)=default | |
virtual | ~VTUAbsorbStreamer () |
virtual void | absorbData (std::fstream &stream, const std::string &name, bitpit::VTKFormat format, uint64_t entries, uint8_t components, bitpit::VTKDataType datatype) |
virtual void | decodeRawData (bitpit::PatchKernel &)=0 |
Detailed Description
Abstract class for custom reader/absorber of *.vtu mesh external files.
Reader/absorber is focused to mesh data only. Abstract class need to provide:
- A custom implementation of absorbData method to read the data from file (actually void).
- A method to decode raw data acquired by the streamer, in order to fill a custom mesh container of type bitpit::PatchKernel.
Definition at line 43 of file VTUGridReader.hpp.
Constructor & Destructor Documentation
◆ VTUAbsorbStreamer() [1/2]
mimmo::VTUAbsorbStreamer::VTUAbsorbStreamer | ( | ) |
Base Constructor
Definition at line 32 of file VTUGridReader.cpp.
◆ ~VTUAbsorbStreamer()
|
virtual |
Base Destructor
Definition at line 37 of file VTUGridReader.cpp.
◆ VTUAbsorbStreamer() [2/2]
|
default |
Copy Constructor
Member Function Documentation
◆ absorbData()
|
virtual |
Absorber of VTU mesh data. Reimplemented from bitpit::VTKBaseStreamer class
- Parameters
-
[in] stream stream to read from [in] name name of the geometry field [in] format ASCII or APPENDED [in] entries number of entries for data container [in] components number of components of current data container [in] datatype data format for binary casting
Reimplemented in mimmo::VTUGridStreamer.
Definition at line 48 of file VTUGridReader.cpp.
◆ decodeRawData()
|
pure virtual |
Decode read raw data and fill a bitpit::PatchKernel structure with them
Implemented in mimmo::VTUGridStreamer.
The documentation for this class was generated from the following files:
- src/core/VTUGridReader.hpp
- src/core/VTUGridReader.cpp
