dune-grid 2.9.0
Public Types | Public Member Functions | List of all members
Dune::VTK::ConformingConnectivityWriter< IteratorFactory > Class Template Reference

writer for the connectivity array in conforming mode More...

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

Inheritance diagram for Dune::VTK::ConformingConnectivityWriter< IteratorFactory >:
Inheritance graph

Public Types

typedef FieldVector< DF, mydim > Domain
 
typedef IteratorFactory::Cell Cell
 

Public Member Functions

 ConformingConnectivityWriter (const IteratorFactory &factory_)
 create a writer with the given iteratorfactory More...
 
virtual std::string name () const
 return name More...
 
virtual unsigned ncomps () const
 return number of components of the vector More...
 
virtual void addArray (PVTUWriter &writer)
 add this field to the given parallel writer More...
 
virtual bool beginWrite (VTUWriter &writer, std::size_t nitems)
 start writing with the given writer More...
 
virtual void write (const typename Base::Cell &cell, unsigned cornerIndex)
 write at the given corner More...
 
virtual void endWrite ()
 signal end of writing More...
 
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...
 

Detailed Description

template<typename IteratorFactory>
class Dune::VTK::ConformingConnectivityWriter< IteratorFactory >

writer for the connectivity array in conforming mode

Member Typedef Documentation

◆ Cell

typedef IteratorFactory::Cell Dune::VTK::FunctionWriterBase< IteratorFactory::Cell >::Cell
inherited

◆ Domain

typedef FieldVector<DF, mydim> Dune::VTK::FunctionWriterBase< IteratorFactory::Cell >::Domain
inherited

Constructor & Destructor Documentation

◆ ConformingConnectivityWriter()

template<typename IteratorFactory >
Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::ConformingConnectivityWriter ( const IteratorFactory &  factory_)
inline

create a writer with the given iteratorfactory

Member Function Documentation

◆ addArray()

template<typename IteratorFactory >
virtual void Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::addArray ( PVTUWriter writer)
inlinevirtual

add this field to the given parallel writer

Implements Dune::VTK::FunctionWriterBase< IteratorFactory::Cell >.

◆ beginWrite()

template<typename IteratorFactory >
virtual bool Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::beginWrite ( VTUWriter writer,
std::size_t  nitems 
)
inlinevirtual

start writing with the given writer

write is meaningful, we need to build the data

Implements Dune::VTK::FunctionWriterBase< IteratorFactory::Cell >.

◆ endWrite()

template<typename IteratorFactory >
virtual void Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::endWrite ( )
inlinevirtual

signal end of writing

Implements Dune::VTK::FunctionWriterBase< IteratorFactory::Cell >.

◆ name()

template<typename IteratorFactory >
virtual std::string Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::name ( ) const
inlinevirtual

◆ ncomps()

template<typename IteratorFactory >
virtual unsigned Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::ncomps ( ) const
inlinevirtual

return number of components of the vector

Implements Dune::VTK::FunctionWriterBase< IteratorFactory::Cell >.

◆ write() [1/3]

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

◆ write() [2/3]

virtual void Dune::VTK::FunctionWriterBase< IteratorFactory::Cell >::write ( const Cell cell,
unsigned  cornerIndex 
)
inlinevirtualinherited

write at the given corner

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

◆ write() [3/3]

template<typename IteratorFactory >
virtual void Dune::VTK::ConformingConnectivityWriter< IteratorFactory >::write ( const typename Base::Cell cell,
unsigned  cornerIndex 
)
inlinevirtual

write at the given corner


The documentation for this class was generated from the following file: