dune-grid 2.9.0
Public Types | Public Member Functions | List of all members
Dune::VTK::FunctionWriterBase< Cell_ > Class Template Referenceabstract

Base class for function writers. More...

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

Inheritance diagram for Dune::VTK::FunctionWriterBase< Cell_ >:
Inheritance graph

Public Types

typedef FieldVector< DF, mydim > Domain
 
typedef Cell_ Cell
 

Public Member Functions

virtual std::string name () const =0
 return name More...
 
virtual unsigned ncomps () const =0
 return number of components of the vector More...
 
virtual void addArray (PVTUWriter &writer)=0
 add this field to the given parallel writer More...
 
virtual bool beginWrite (VTUWriter &writer, std::size_t nitems)=0
 start writing with the given writer 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...
 
virtual void endWrite ()=0
 signal end of writing More...
 
virtual ~FunctionWriterBase ()
 destructor More...
 

Detailed Description

template<typename Cell_>
class Dune::VTK::FunctionWriterBase< Cell_ >

Base class for function writers.

Member Typedef Documentation

◆ Cell

template<typename Cell_ >
typedef Cell_ Dune::VTK::FunctionWriterBase< Cell_ >::Cell

◆ Domain

template<typename Cell_ >
typedef FieldVector<DF, mydim> Dune::VTK::FunctionWriterBase< Cell_ >::Domain

Constructor & Destructor Documentation

◆ ~FunctionWriterBase()

template<typename Cell_ >
virtual Dune::VTK::FunctionWriterBase< Cell_ >::~FunctionWriterBase ( )
inlinevirtual

destructor

Member Function Documentation

◆ addArray()

template<typename Cell_ >
virtual void Dune::VTK::FunctionWriterBase< Cell_ >::addArray ( PVTUWriter writer)
pure virtual

◆ beginWrite()

template<typename Cell_ >
virtual bool Dune::VTK::FunctionWriterBase< Cell_ >::beginWrite ( VTUWriter writer,
std::size_t  nitems 
)
pure virtual

◆ endWrite()

template<typename Cell_ >
virtual void Dune::VTK::FunctionWriterBase< Cell_ >::endWrite ( )
pure virtual

◆ name()

template<typename Cell_ >
virtual std::string Dune::VTK::FunctionWriterBase< Cell_ >::name ( ) const
pure virtual

◆ ncomps()

template<typename Cell_ >
virtual unsigned Dune::VTK::FunctionWriterBase< Cell_ >::ncomps ( ) const
pure virtual

◆ write() [1/2]

template<typename Cell_ >
virtual void Dune::VTK::FunctionWriterBase< Cell_ >::write ( const Cell ,
const Domain  
)
inlinevirtual

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/2]

template<typename Cell_ >
virtual void Dune::VTK::FunctionWriterBase< Cell_ >::write ( const Cell cell,
unsigned  cornerIndex 
)
inlinevirtual

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: