dune-grid
2.3.1
|
Base class for function writers. More...
#include <dune/grid/io/file/vtk/functionwriter.hh>
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 &cell, const Domain &xl) |
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... | |
Base class for function writers.
typedef Cell_ Dune::VTK::FunctionWriterBase< Cell_ >::Cell |
typedef FieldVector<DF, mydim> Dune::VTK::FunctionWriterBase< Cell_ >::Domain |
|
inlinevirtual |
destructor
|
pure virtual |
add this field to the given parallel writer
Implemented in Dune::VTK::TypesWriter< Cell >, Dune::VTK::OffsetsWriter< Cell >, Dune::VTK::NonConformingConnectivityWriter< Cell >, Dune::VTK::ConformingConnectivityWriter< IteratorFactory >, Dune::VTK::CoordinatesWriter< Cell >, Dune::VTK::VTKFunctionWriter< Func >, and Dune::VTK::SkeletonFunctionWriter< Func >.
|
pure virtual |
start writing with the given writer
Implemented in Dune::VTK::TypesWriter< Cell >, Dune::VTK::OffsetsWriter< Cell >, Dune::VTK::NonConformingConnectivityWriter< Cell >, Dune::VTK::ConformingConnectivityWriter< IteratorFactory >, Dune::VTK::CoordinatesWriter< Cell >, Dune::VTK::VTKFunctionWriter< Func >, and Dune::VTK::SkeletonFunctionWriter< Func >.
Referenced by Dune::VTK::BasicWriter< NonConformingBoundaryIteratorFactory< GV > >::writeCellFunction(), Dune::VTK::BasicWriter< NonConformingBoundaryIteratorFactory< GV > >::writeCornerFunction(), and Dune::VTK::BasicWriter< NonConformingBoundaryIteratorFactory< GV > >::writePointFunction().
|
pure virtual |
signal end of writing
Implemented in Dune::VTK::TypesWriter< Cell >, Dune::VTK::OffsetsWriter< Cell >, Dune::VTK::NonConformingConnectivityWriter< Cell >, Dune::VTK::ConformingConnectivityWriter< IteratorFactory >, Dune::VTK::CoordinatesWriter< Cell >, Dune::VTK::SkeletonFunctionWriter< Func >, and Dune::VTK::VTKFunctionWriter< Func >.
Referenced by Dune::VTK::BasicWriter< NonConformingBoundaryIteratorFactory< GV > >::writeCellFunction(), Dune::VTK::BasicWriter< NonConformingBoundaryIteratorFactory< GV > >::writeCornerFunction(), and Dune::VTK::BasicWriter< NonConformingBoundaryIteratorFactory< GV > >::writePointFunction().
|
pure virtual |
return name
Implemented in Dune::VTK::TypesWriter< Cell >, Dune::VTK::OffsetsWriter< Cell >, Dune::VTK::NonConformingConnectivityWriter< Cell >, Dune::VTK::ConformingConnectivityWriter< IteratorFactory >, Dune::VTK::CoordinatesWriter< Cell >, Dune::VTK::SkeletonFunctionWriter< Func >, and Dune::VTK::VTKFunctionWriter< Func >.
|
pure virtual |
return number of components of the vector
Implemented in Dune::VTK::TypesWriter< Cell >, Dune::VTK::OffsetsWriter< Cell >, Dune::VTK::NonConformingConnectivityWriter< Cell >, Dune::VTK::ConformingConnectivityWriter< IteratorFactory >, Dune::VTK::CoordinatesWriter< Cell >, Dune::VTK::SkeletonFunctionWriter< Func >, and Dune::VTK::VTKFunctionWriter< Func >.
|
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.
Referenced by Dune::VTK::FunctionWriterBase< Func::Traits::Cell >::write(), Dune::VTK::BasicWriter< NonConformingBoundaryIteratorFactory< GV > >::writeCellFunction(), Dune::VTK::BasicWriter< NonConformingBoundaryIteratorFactory< GV > >::writeCornerFunction(), and Dune::VTK::BasicWriter< NonConformingBoundaryIteratorFactory< GV > >::writePointFunction().
|
inlinevirtual |
write at the given corner
This default method forwards the writing to write(const Cell&, const Domain&).
Reimplemented in Dune::VTK::NonConformingConnectivityWriter< Cell >.