dune-grid
2.3beta2
|
Base class for function writers. More...
#include <dune/grid/io/file/vtk/functionwriter.hh>
Public Types | |
typedef FieldVector< DF, mydim > | Domain |
typedef Func::Entity | Cell |
Public Member Functions | |
VTKFunctionWriter (const shared_ptr< const Func > &func_) | |
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, const typename Base::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 |
Base class for function writers.
|
inherited |
|
inherited |
|
inline |
|
inlinevirtual |
add this field to the given parallel writer
Implements Dune::VTK::FunctionWriterBase< Func::Entity >.
References Dune::VTK::PVTUWriter::addArray(), Dune::VTK::VTKFunctionWriter< Func >::name(), and Dune::VTK::VTKFunctionWriter< Func >::ncomps().
|
inlinevirtual |
start writing with the given writer
Implements Dune::VTK::FunctionWriterBase< Func::Entity >.
References Dune::VTK::VTUWriter::makeArrayWriter(), Dune::VTK::VTKFunctionWriter< Func >::name(), and Dune::VTK::VTKFunctionWriter< Func >::ncomps().
|
inlinevirtual |
signal end of writing
Implements Dune::VTK::FunctionWriterBase< Func::Entity >.
|
inlinevirtual |
return name
Implements Dune::VTK::FunctionWriterBase< Func::Entity >.
Referenced by Dune::VTK::VTKFunctionWriter< Func >::addArray(), and Dune::VTK::VTKFunctionWriter< Func >::beginWrite().
|
inlinevirtual |
return number of components of the vector
Implements Dune::VTK::FunctionWriterBase< Func::Entity >.
Referenced by Dune::VTK::VTKFunctionWriter< Func >::addArray(), Dune::VTK::VTKFunctionWriter< Func >::beginWrite(), and Dune::VTK::VTKFunctionWriter< Func >::write().
|
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.
|
inlinevirtualinherited |
write at the given corner
This default method forwards the writing to write(const Cell&, const Domain&).
|
inlinevirtual |
write at the given position
References Dune::VTK::VTKFunctionWriter< Func >::ncomps().