dune-grid
2.2.0
|
writer for the types array 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 |
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 Cell &cell, const typename Base::Domain &) |
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 |
writer for the types array
typedef Cell Dune::VTK::FunctionWriterBase< Cell >::Cell [inherited] |
typedef FieldVector<DF, mydim> Dune::VTK::FunctionWriterBase< Cell >::Domain [inherited] |
virtual void Dune::VTK::TypesWriter< Cell >::addArray | ( | PVTUWriter & | writer | ) | [inline, virtual] |
add this field to the given parallel writer
Implements Dune::VTK::FunctionWriterBase< Cell >.
References Dune::VTK::PVTUWriter::addArray(), Dune::VTK::TypesWriter< Cell >::name(), and Dune::VTK::TypesWriter< Cell >::ncomps().
virtual bool Dune::VTK::TypesWriter< Cell >::beginWrite | ( | VTUWriter & | writer, |
std::size_t | nitems | ||
) | [inline, virtual] |
start writing with the given writer
Implements Dune::VTK::FunctionWriterBase< Cell >.
References Dune::VTK::VTUWriter::makeArrayWriter(), Dune::VTK::TypesWriter< Cell >::name(), and Dune::VTK::TypesWriter< Cell >::ncomps().
virtual void Dune::VTK::TypesWriter< Cell >::endWrite | ( | ) | [inline, virtual] |
signal end of writing
Implements Dune::VTK::FunctionWriterBase< Cell >.
virtual std::string Dune::VTK::TypesWriter< Cell >::name | ( | ) | const [inline, virtual] |
return name
Implements Dune::VTK::FunctionWriterBase< Cell >.
Referenced by Dune::VTK::TypesWriter< Cell >::addArray(), and Dune::VTK::TypesWriter< Cell >::beginWrite().
virtual unsigned Dune::VTK::TypesWriter< Cell >::ncomps | ( | ) | const [inline, virtual] |
return number of components of the vector
Implements Dune::VTK::FunctionWriterBase< Cell >.
Referenced by Dune::VTK::TypesWriter< Cell >::addArray(), and Dune::VTK::TypesWriter< Cell >::beginWrite().
virtual void Dune::VTK::FunctionWriterBase< 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< 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&).
Reimplemented in Dune::VTK::NonConformingConnectivityWriter< Cell >.
virtual void Dune::VTK::TypesWriter< Cell >::write | ( | const Cell & | cell, |
const typename Base::Domain & | |||
) | [inline, virtual] |
write at the given position
References Dune::VTK::geometryType().