dune-grid 2.9.0
Public Types | Public Member Functions | List of all members
Dune::VTK::TypesWriter< Cell > Class Template Reference

writer for the types array More...

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

Inheritance diagram for Dune::VTK::TypesWriter< Cell >:
Inheritance graph

Public Types

typedef FieldVector< DF, mydim > Domain
 
typedef Cell Cell
 

Public Member Functions

virtual std::string name () const
 return name More...
 
virtual unsigned ncomps () const
 return number of components of the vector More...
 
virtual void addArray (PVTUWriter &writer)
 add this field to the given parallel writer More...
 
virtual bool beginWrite (VTUWriter &writer, std::size_t nitems)
 start writing with the given writer More...
 
virtual void write (const Cell &cell, const typename Base::Domain &)
 write at the given position More...
 
virtual void endWrite ()
 signal end of writing More...
 
virtual void write (const Cell &, const Domain &)
 write at the given position More...
 
virtual void write (const Cell &cell, unsigned cornerIndex)
 write at the given corner More...
 

Detailed Description

template<typename Cell>
class Dune::VTK::TypesWriter< Cell >

writer for the types array

Member Typedef Documentation

◆ Cell

typedef Cell Dune::VTK::FunctionWriterBase< Cell >::Cell
inherited

◆ Domain

typedef FieldVector<DF, mydim> Dune::VTK::FunctionWriterBase< Cell >::Domain
inherited

Member Function Documentation

◆ addArray()

template<typename Cell >
virtual void Dune::VTK::TypesWriter< Cell >::addArray ( PVTUWriter writer)
inlinevirtual

add this field to the given parallel writer

Implements Dune::VTK::FunctionWriterBase< Cell >.

◆ beginWrite()

template<typename Cell >
virtual bool Dune::VTK::TypesWriter< Cell >::beginWrite ( VTUWriter writer,
std::size_t  nitems 
)
inlinevirtual

start writing with the given writer

Implements Dune::VTK::FunctionWriterBase< Cell >.

◆ endWrite()

template<typename Cell >
virtual void Dune::VTK::TypesWriter< Cell >::endWrite ( )
inlinevirtual

signal end of writing

Implements Dune::VTK::FunctionWriterBase< Cell >.

◆ name()

template<typename Cell >
virtual std::string Dune::VTK::TypesWriter< Cell >::name ( ) const
inlinevirtual

return name

Implements Dune::VTK::FunctionWriterBase< Cell >.

◆ ncomps()

template<typename Cell >
virtual unsigned Dune::VTK::TypesWriter< Cell >::ncomps ( ) const
inlinevirtual

return number of components of the vector

Implements Dune::VTK::FunctionWriterBase< Cell >.

◆ write() [1/3]

virtual void Dune::VTK::FunctionWriterBase< Cell >::write ( const Cell ,
const Domain  
)
inlinevirtualinherited

write at the given position

This is the default dummy implementation. This method is not abstract so derived classes don't have to override it if they don't need it.

◆ write() [2/3]

template<typename Cell >
virtual void Dune::VTK::TypesWriter< Cell >::write ( const Cell cell,
const typename Base::Domain  
)
inlinevirtual

write at the given position

◆ write() [3/3]

virtual void Dune::VTK::FunctionWriterBase< Cell >::write ( const Cell cell,
unsigned  cornerIndex 
)
inlinevirtualinherited

write at the given corner

This default method forwards the writing to write(const Cell&, const Domain&).

Reimplemented in Dune::VTK::NonConformingConnectivityWriter< Cell >.


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