|
dune-grid
2.2.0
|
function writer for skeleton functions More...
#include <dune/grid/io/file/vtk/skeletonfunction.hh>
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 | |
function writer for skeleton functions
| Func | Function to write. Must be a model of SkeletonFunctionInterface. |
typedef Func::Traits::Cell Dune::VTK::FunctionWriterBase< Func::Traits::Cell >::Cell [inherited] |
typedef FieldVector<DF, mydim> Dune::VTK::FunctionWriterBase< Func::Traits::Cell >::Domain [inherited] |
| Dune::VTK::SkeletonFunctionWriter< Func >::SkeletonFunctionWriter | ( | const shared_ptr< const Func > & | func_, |
| const std::string & | name, | ||
| unsigned | dimR_ | ||
| ) | [inline] |
| Dune::VTK::SkeletonFunctionWriter< Func >::SkeletonFunctionWriter | ( | const shared_ptr< const Func > & | func_, |
| const std::string & | name | ||
| ) | [inline] |
| virtual void Dune::VTK::SkeletonFunctionWriter< Func >::addArray | ( | PVTUWriter & | writer | ) | [inline, virtual] |
add this field to the given parallel writer
Implements Dune::VTK::FunctionWriterBase< Func::Traits::Cell >.
References Dune::VTK::PVTUWriter::addArray(), Dune::VTK::SkeletonFunctionWriter< Func >::name(), and Dune::VTK::SkeletonFunctionWriter< Func >::ncomps().
| virtual bool Dune::VTK::SkeletonFunctionWriter< Func >::beginWrite | ( | VTUWriter & | writer, |
| std::size_t | nitems | ||
| ) | [inline, virtual] |
start writing with the given writer
Implements Dune::VTK::FunctionWriterBase< Func::Traits::Cell >.
References Dune::VTK::VTUWriter::makeArrayWriter(), Dune::VTK::SkeletonFunctionWriter< Func >::name(), and Dune::VTK::SkeletonFunctionWriter< Func >::ncomps().
| virtual void Dune::VTK::SkeletonFunctionWriter< Func >::endWrite | ( | ) | [inline, virtual] |
signal end of writing
Implements Dune::VTK::FunctionWriterBase< Func::Traits::Cell >.
| virtual std::string Dune::VTK::SkeletonFunctionWriter< Func >::name | ( | ) | const [inline, virtual] |
return name
Implements Dune::VTK::FunctionWriterBase< Func::Traits::Cell >.
Referenced by Dune::VTK::SkeletonFunctionWriter< Func >::addArray(), and Dune::VTK::SkeletonFunctionWriter< Func >::beginWrite().
| virtual unsigned Dune::VTK::SkeletonFunctionWriter< Func >::ncomps | ( | ) | const [inline, virtual] |
return number of components of the vector
Implements Dune::VTK::FunctionWriterBase< Func::Traits::Cell >.
Referenced by Dune::VTK::SkeletonFunctionWriter< Func >::addArray(), and Dune::VTK::SkeletonFunctionWriter< Func >::beginWrite().
| 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::VTK::FunctionWriterBase< Cell_ >::write().
| 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
1.7.6.1