Dune Core Modules (unstable)

Dune::VTK::NakedRawDataArrayWriter Class Reference

a streaming writer for appended data arrays, uses raw format More...

#include <dune/grid/io/file/vtk/dataarraywriter.hh>

Public Member Functions

 NakedRawDataArrayWriter (std::ostream &theStream, int ncomps, int nitems, Precision prec_)
 make a new data array writer More...
 
template<class T >
void write (T data)
 write one element of data
 
virtual bool writeIsNoop () const
 whether calls to write may be skipped
 

Detailed Description

a streaming writer for appended data arrays, uses raw format

Constructor & Destructor Documentation

◆ NakedRawDataArrayWriter()

Dune::VTK::NakedRawDataArrayWriter::NakedRawDataArrayWriter ( std::ostream &  theStream,
int  ncomps,
int  nitems,
Precision  prec_ 
)
inline

make a new data array writer

Parameters
theStreamStream to write to.
ncompsNumber of components of the array.
nitemsNumber of cells for cell data/Number of vertices for point data.

References Dune::VTK::typeSize(), and Dune::RawStream::write().


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)