dune-grid 2.9.0
|
Interface class for vertex projection at the boundary. More...
#include <dune/grid/common/boundaryprojection.hh>
Public Types | |
typedef DuneBoundaryProjection< dimworld > | ThisType |
typedef BoundarySegmentBackupRestore< DuneBoundaryProjection< dimworld > > | BaseType |
typedef BaseType::ObjectStreamType | ObjectStreamType |
typedef FieldVector< double, dimworld > | CoordinateType |
type of coordinate vector More... | |
Public Member Functions | |
virtual | ~DuneBoundaryProjection () |
destructor More... | |
virtual CoordinateType | operator() (const CoordinateType &global) const =0 |
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< ThisType > | restoreFromBuffer (BufferImp &buffer) |
template<class BufferImp > | |
static std::unique_ptr< ThisType > | restoreFromBuffer (MessageBufferIF< BufferImp > &buffer) |
Protected Types | |
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< BoundarySegment > | restore (ObjectStreamType &in) |
create an object of BoundarySegment type from a previously registered factory linked to key. More... | |
static int | registerFactory () |
Interface class for vertex projection at the boundary.
typedef BoundarySegmentBackupRestore< DuneBoundaryProjection< dimworld > > Dune::DuneBoundaryProjection< dimworld >::BaseType |
|
protectedinherited |
type of BoundarySegment interface class
typedef FieldVector< double, dimworld> Dune::DuneBoundaryProjection< dimworld >::CoordinateType |
type of coordinate vector
|
protectedinherited |
type of factory creating a unique_ptr from an ObjectStreamType
typedef BaseType::ObjectStreamType Dune::DuneBoundaryProjection< dimworld >::ObjectStreamType |
typedef DuneBoundaryProjection< dimworld > Dune::DuneBoundaryProjection< dimworld >::ThisType |
|
inlinevirtual |
destructor
|
inlinevirtual |
write DuneBoundaryProjection's data to stream buffer
buffer | buffer to store data |
Reimplemented in Dune::BoundarySegmentWrapper< dim, dimworld >.
|
pure virtual |
projection operator projection a global coordinate
Implemented in Dune::BoundaryProjectionWrapper< dimworld >, Dune::BoundarySegmentWrapper< dim, dimworld >, and Dune::CircleBoundaryProjection< dimworld >.
|
inlinestaticprotectedinherited |
|
inlinestaticprotectedinherited |
create an object of BoundarySegment type from a previously registered factory linked to key.
in | stream buffer previously written with backup containing key and object data |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |