Loading...
Searching...
No Matches
Public Member Functions | List of all members
FieldStreamer Class Reference
Inheritance diagram for FieldStreamer:
Inheritance graph
[legend]
Collaboration diagram for FieldStreamer:
Collaboration graph
[legend]

Public Member Functions

 FieldStreamer (const PatchKernel &patch, const PiercedStorage< double, long > &scalarField, const PiercedStorage< std::array< double, 3 >, long > &vectorField)
 
void flushData (std::fstream &stream, const std::string &name, VTKFormat format) override
 
- Public Member Functions inherited from bitpit::VTKBaseStreamer
virtual void absorbData (std::fstream &, const std::string &, VTKFormat, uint64_t, uint8_t, VTKDataType)
 
template<typename T >
void flushValue (std::fstream &, VTKFormat, const T &value) const
 
template<typename T >
void flushValue (std::fstream &, VTKFormat, const T *values, int nValues) const
 

Detailed Description

Examples
voloctree_adaptation_example_00001.cpp.

Definition at line 51 of file voloctree_adaptation_example_00001.cpp.

Constructor & Destructor Documentation

◆ FieldStreamer()

FieldStreamer::FieldStreamer ( const PatchKernel & patch,
const PiercedStorage< double, long > & scalarField,
const PiercedStorage< std::array< double, 3 >, long > & vectorField )
inline

Definition at line 54 of file voloctree_adaptation_example_00001.cpp.

Member Function Documentation

◆ flushData()

void FieldStreamer::flushData ( std::fstream & str,
const std::string & name,
VTKFormat format )
inlineoverridevirtual

Reads data from stream

Parameters
[in]strfile stream for writing
[in]namename of field
[in]formatASCII or BINARY format

Implements bitpit::VTKBaseStreamer.

Examples
voloctree_adaptation_example_00001.cpp.

Definition at line 59 of file voloctree_adaptation_example_00001.cpp.


The documentation for this class was generated from the following file:
--- layout: doxygen_footer ---