Dune Core Modules (unstable)

Dune::VTK::FunctionWriterBase< Cell_ > Class Template Referenceabstract

Base class for function writers. More...

#include <dune/grid/io/file/vtk/functionwriter.hh>

Public Member Functions

virtual std::string name () const =0
 return name
 
virtual unsigned ncomps () const =0
 return number of components of the vector
 
virtual void addArray (PVTUWriter &writer)=0
 add this field to the given parallel writer
 
virtual bool beginWrite (VTUWriter &writer, std::size_t nitems)=0
 start writing with the given writer
 
virtual void write (const Cell &, const Domain &)
 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
 
virtual ~FunctionWriterBase ()
 destructor
 

Detailed Description

template<typename Cell_>
class Dune::VTK::FunctionWriterBase< Cell_ >

Base class for function writers.

Member Function Documentation

◆ write() [1/2]

template<typename Cell_ >
virtual void Dune::VTK::FunctionWriterBase< Cell_ >::write ( const Cell &  ,
const Domain  
)
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.

References DUNE_THROW.

Referenced by Dune::VTK::FunctionWriterBase< Cell_ >::write().

◆ write() [2/2]

template<typename Cell_ >
virtual void Dune::VTK::FunctionWriterBase< Cell_ >::write ( const Cell &  cell,
unsigned  cornerIndex 
)
inlinevirtual

write at the given corner

This default method forwards the writing to write(const Cell&, const Domain&).

Reimplemented in Dune::VTK::NonConformingConnectivityWriter< Cell >.

References Dune::Geo::ReferenceElements< ctype_, dim >::general(), and Dune::VTK::FunctionWriterBase< Cell_ >::write().


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 15, 22:30, 2024)