dune-grid  2.1.1
Public Types | Public Member Functions
Dune::VTK::ConformingConnectivityWriter< IteratorFactory > Class Template Reference

writer for the connectivity array in conforming mode More...

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

Inheritance diagram for Dune::VTK::ConformingConnectivityWriter< IteratorFactory >:
Inheritance graph

List of all members.

Public Types

typedef FieldVector< DF, mydim > Domain
typedef IteratorFactory::Cell Cell

Public Member Functions

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

Detailed Description

template<typename IteratorFactory>
class Dune::VTK::ConformingConnectivityWriter< IteratorFactory >

writer for the connectivity array in conforming mode


Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename IteratorFactory >
Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::ConformingConnectivityWriter ( const IteratorFactory &  factory_) [inline]

create a writer with the given iteratorfactory


Member Function Documentation

template<typename IteratorFactory >
virtual void Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::addArray ( PVTUWriter writer) [inline, virtual]
template<typename IteratorFactory >
virtual bool Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::beginWrite ( VTUWriter writer,
std::size_t  nitems 
) [inline, virtual]
template<typename IteratorFactory >
virtual void Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::endWrite ( ) [inline, virtual]

signal end of writing

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

template<typename IteratorFactory >
virtual std::string Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::name ( ) const [inline, virtual]
template<typename IteratorFactory >
virtual unsigned Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::ncomps ( ) const [inline, virtual]
virtual void Dune::VTK::FunctionWriterBase< IteratorFactory::Cell >::write ( const Cell cell,
const Domain xl 
) [inline, virtual, inherited]

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.

virtual void Dune::VTK::FunctionWriterBase< IteratorFactory::Cell >::write ( const Cell cell,
unsigned  cornerIndex 
) [inline, virtual, inherited]

write at the given corner

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

template<typename IteratorFactory >
virtual void Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::write ( const typename Base::Cell cell,
unsigned  cornerIndex 
) [inline, virtual]

write at the given corner


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