dune-grid 2.9.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Static Protected Member Functions | Protected Attributes | List of all members
Dune::BoundaryProjectionWrapper< dimworld > Class Template Reference

#include <dune/grid/common/boundaryprojection.hh>

Inheritance diagram for Dune::BoundaryProjectionWrapper< dimworld >:
Inheritance graph

Public Types

typedef BaseType::CoordinateType CoordinateType
 type of coordinate vector More...
 
typedef DuneBoundaryProjection< dimworld > ThisType
 
typedef BaseType::ObjectStreamType ObjectStreamType
 

Public Member Functions

 BoundaryProjectionWrapper (const BaseType &proje)
 
 ~BoundaryProjectionWrapper ()
 destructor More...
 
CoordinateType operator() (const CoordinateType &global) const
 projection operator projection a global coordinate More...
 
virtual void backup (ObjectStreamType &buffer) const
 write DuneBoundaryProjection's data to stream buffer More...
 
template<class BufferImp >
void toBuffer (BufferImp &buffer) const
 
template<class BufferImp >
void toBuffer (MessageBufferIF< BufferImp > &buffer) const
 

Static Public Member Functions

template<class BufferImp >
static std::unique_ptr< ThisTyperestoreFromBuffer (BufferImp &buffer)
 
template<class BufferImp >
static std::unique_ptr< ThisTyperestoreFromBuffer (MessageBufferIF< BufferImp > &buffer)
 

Protected Types

typedef DuneBoundaryProjection< dimworld > BaseType
 
typedef DuneBoundaryProjection< dimworld > BoundarySegment
 type of BoundarySegment interface class More...
 
typedef Dune::ParameterizedObjectFactory< std::unique_ptr< BoundarySegment >(ObjectStreamType &), int > FactoryType
 type of factory creating a unique_ptr from an ObjectStreamType More...
 

Static Protected Member Functions

static std::unique_ptr< BoundarySegmentrestore (ObjectStreamType &in)
 create an object of BoundarySegment type from a previously registered factory linked to key. More...
 
static int registerFactory ()
 

Protected Attributes

const BaseTypeproj_
 

Member Typedef Documentation

◆ BaseType

template<int dimworld>
typedef DuneBoundaryProjection< dimworld > Dune::BoundaryProjectionWrapper< dimworld >::BaseType
protected

◆ BoundarySegment

typedef DuneBoundaryProjection< dimworld > Dune::BoundarySegmentBackupRestore< DuneBoundaryProjection< dimworld > >::BoundarySegment
protectedinherited

type of BoundarySegment interface class

◆ CoordinateType

template<int dimworld>
typedef BaseType::CoordinateType Dune::BoundaryProjectionWrapper< dimworld >::CoordinateType

type of coordinate vector

◆ FactoryType

typedef Dune::ParameterizedObjectFactory< std::unique_ptr< BoundarySegment >( ObjectStreamType& ), int > Dune::BoundarySegmentBackupRestore< DuneBoundaryProjection< dimworld > >::FactoryType
protectedinherited

type of factory creating a unique_ptr from an ObjectStreamType

◆ ObjectStreamType

template<int dimworld>
typedef BaseType::ObjectStreamType Dune::DuneBoundaryProjection< dimworld >::ObjectStreamType
inherited

◆ ThisType

template<int dimworld>
typedef DuneBoundaryProjection< dimworld > Dune::DuneBoundaryProjection< dimworld >::ThisType
inherited

Constructor & Destructor Documentation

◆ BoundaryProjectionWrapper()

template<int dimworld>
Dune::BoundaryProjectionWrapper< dimworld >::BoundaryProjectionWrapper ( const BaseType proje)
inline

◆ ~BoundaryProjectionWrapper()

template<int dimworld>
Dune::BoundaryProjectionWrapper< dimworld >::~BoundaryProjectionWrapper ( )
inline

destructor

Member Function Documentation

◆ backup()

template<int dimworld>
virtual void Dune::DuneBoundaryProjection< dimworld >::backup ( ObjectStreamType buffer) const
inlinevirtualinherited

write DuneBoundaryProjection's data to stream buffer

Parameters
bufferbuffer to store data

Reimplemented in Dune::BoundarySegmentWrapper< dim, dimworld >.

◆ operator()()

template<int dimworld>
CoordinateType Dune::BoundaryProjectionWrapper< dimworld >::operator() ( const CoordinateType global) const
inlinevirtual

projection operator projection a global coordinate

Implements Dune::DuneBoundaryProjection< dimworld >.

◆ registerFactory()

static int Dune::BoundarySegmentBackupRestore< DuneBoundaryProjection< dimworld > >::registerFactory ( )
inlinestaticprotectedinherited

◆ restore()

static std::unique_ptr< BoundarySegment > Dune::BoundarySegmentBackupRestore< DuneBoundaryProjection< dimworld > >::restore ( ObjectStreamType in)
inlinestaticprotectedinherited

create an object of BoundarySegment type from a previously registered factory linked to key.

Parameters
instream buffer previously written with backup containing key and object data
Returns
Object derived from BoundarySegment.

◆ restoreFromBuffer() [1/2]

template<int dimworld>
template<class BufferImp >
static std::unique_ptr< ThisType > Dune::DuneBoundaryProjection< dimworld >::restoreFromBuffer ( BufferImp &  buffer)
inlinestaticinherited

◆ restoreFromBuffer() [2/2]

template<int dimworld>
template<class BufferImp >
static std::unique_ptr< ThisType > Dune::DuneBoundaryProjection< dimworld >::restoreFromBuffer ( MessageBufferIF< BufferImp > &  buffer)
inlinestaticinherited

◆ toBuffer() [1/2]

template<int dimworld>
template<class BufferImp >
void Dune::DuneBoundaryProjection< dimworld >::toBuffer ( BufferImp &  buffer) const
inlineinherited

◆ toBuffer() [2/2]

template<int dimworld>
template<class BufferImp >
void Dune::DuneBoundaryProjection< dimworld >::toBuffer ( MessageBufferIF< BufferImp > &  buffer) const
inlineinherited

Member Data Documentation

◆ proj_

template<int dimworld>
const BaseType& Dune::BoundaryProjectionWrapper< dimworld >::proj_
protected

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