dune-grid  2.4.1
Public Types | Public Member Functions | List of all members
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

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 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 typename Func::Traits::Cell &cell, const typename Func::Traits::Domain &xl)
 write at the given position More...
 
virtual void endWrite ()
 signal end of writing More...
 
virtual void write (const Cell &cell, const Domain &xl)
 write at the given position More...
 
virtual void write (const Cell &cell, unsigned cornerIndex)
 write at the given corner More...
 

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)
inlinevirtual

add this field to the given parallel writer

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

References Dune::VTK::PVTUWriter::addArray().

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

start writing with the given writer

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

References Dune::VTK::VTUWriter::makeArrayWriter().

template<typename Func >
virtual void Dune::VTK::SkeletonFunctionWriter< Func >::endWrite ( )
inlinevirtual

signal end of writing

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

template<typename Func >
virtual std::string Dune::VTK::SkeletonFunctionWriter< Func >::name ( ) const
inlinevirtual
template<typename Func >
virtual unsigned Dune::VTK::SkeletonFunctionWriter< Func >::ncomps ( ) const
inlinevirtual

return number of components of the vector

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

virtual void Dune::VTK::FunctionWriterBase< Func::Traits::Cell >::write ( const Cell cell,
const Domain xl 
)
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.

virtual void Dune::VTK::FunctionWriterBase< Func::Traits::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&).

References Dune::VTK::FunctionWriterBase< Cell_ >::endWrite(), 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 
)
inlinevirtual

write at the given position


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