Dune Core Modules (2.6.0)

Dune::VTK::NakedRawDataArrayWriter< T > Class Template 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)
 make a new data array writer More...
 
void write (T data)
 write one data element to output stream
 
virtual bool writeIsNoop () const
 whether calls to write may be skipped
 

Detailed Description

template<class T>
class Dune::VTK::NakedRawDataArrayWriter< T >

a streaming writer for appended data arrays, uses raw format

Constructor & Destructor Documentation

◆ NakedRawDataArrayWriter()

template<class T >
Dune::VTK::NakedRawDataArrayWriter< T >::NakedRawDataArrayWriter ( std::ostream &  theStream,
int  ncomps,
int  nitems 
)
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::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 28, 23:30, 2024)