dune-grid 2.9.0
|
#include <dune/grid/common/boundaryprojection.hh>
Public Types | |
typedef FieldVector< double, dimworld > | CoordinateType |
type of coordinate vector More... | |
typedef DuneBoundaryProjection< dimworld > | ThisType |
typedef BoundarySegmentBackupRestore< DuneBoundaryProjection< dimworld > > | BaseType |
typedef BaseType::ObjectStreamType | ObjectStreamType |
Public Member Functions | |
CircleBoundaryProjection (const double radius=std::sqrt((double) dimworld)) | |
constructor taking radius of circle (default = sqrt( dimworld ) ) More... | |
virtual | ~CircleBoundaryProjection () |
destructor More... | |
virtual 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< 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 () |
Protected Attributes | |
const double | radius_ |
radius of circ More... | |
|
inherited |
|
protectedinherited |
type of BoundarySegment interface class
typedef FieldVector< double, dimworld> Dune::CircleBoundaryProjection< dimworld >::CoordinateType |
type of coordinate vector
|
protectedinherited |
type of factory creating a unique_ptr from an ObjectStreamType
|
inherited |
|
inherited |
|
inline |
constructor taking radius of circle (default = sqrt( dimworld ) )
|
inlinevirtual |
destructor
|
inlinevirtualinherited |
write DuneBoundaryProjection's data to stream buffer
buffer | buffer to store data |
Reimplemented in Dune::BoundarySegmentWrapper< dim, dimworld >.
|
inlinevirtual |
projection operator projection a global coordinate
Implements Dune::DuneBoundaryProjection< 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 |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inlineinherited |
|
inlineinherited |
|
protected |
radius of circ