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

function writer for skeleton functions More...

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

Inheritance diagram for Dune::VTK::SkeletonFunctionWriter< Func >:
Inheritance graph

List of all members.

Public Types

typedef FieldVector< DF, mydim > Domain
typedef Func::Traits::Cell Cell

Public Member Functions

 SkeletonFunctionWriter (const shared_ptr< const Func > &func_, const std::string &name, unsigned dimR_)
 SkeletonFunctionWriter (const shared_ptr< const Func > &func_, const std::string &name)
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 Func::Traits::Cell &cell, const typename Func::Traits::Domain &xl)
 write at the given position
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 Func>
class Dune::VTK::SkeletonFunctionWriter< Func >

function writer for skeleton functions

Template Parameters:
FuncFunction to write. Must be a model of SkeletonFunctionInterface.

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename Func >
Dune::VTK::SkeletonFunctionWriter< Func >::SkeletonFunctionWriter ( const shared_ptr< const Func > &  func_,
const std::string &  name,
unsigned  dimR_ 
) [inline]
template<typename Func >
Dune::VTK::SkeletonFunctionWriter< Func >::SkeletonFunctionWriter ( const shared_ptr< const Func > &  func_,
const std::string &  name 
) [inline]

Member Function Documentation

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

signal end of writing

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

template<typename Func >
virtual std::string Dune::VTK::SkeletonFunctionWriter< Func >::name ( ) const [inline, virtual]
template<typename Func >
virtual unsigned Dune::VTK::SkeletonFunctionWriter< Func >::ncomps ( ) const [inline, virtual]
virtual void Dune::VTK::FunctionWriterBase< Func::Traits::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< Func::Traits::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&).

References Dune::GenericReferenceElements< ctype, dim >::general(), and Dune::VTK::FunctionWriterBase< Cell_ >::write().

template<typename Func >
virtual void Dune::VTK::SkeletonFunctionWriter< Func >::write ( const typename Func::Traits::Cell &  cell,
const typename Func::Traits::Domain &  xl 
) [inline, virtual]

write at the given position


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