dune-grid 2.9.0
|
#include <dune/grid/common/boundaryprojection.hh>
Public Types | |
typedef Base::CoordinateType | CoordinateType |
typedef Dune::BoundarySegment< dim, dimworld > | BoundarySegment |
typedef BoundarySegmentBackupRestore< DuneBoundaryProjection< dimworld > > | BaseType |
Public Member Functions | |
BoundarySegmentWrapper (const GeometryType &type, const std::vector< CoordinateType > &vertices, const std::shared_ptr< BoundarySegment > &boundarySegment) | |
BoundarySegmentWrapper (ObjectStreamType &buffer) | |
CoordinateType | operator() (const CoordinateType &global) const |
projection operator projection a global coordinate More... | |
const BoundarySegment & | boundarySegment () const |
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 | |
static void | registerFactory () |
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 Dune::ParameterizedObjectFactory< std::unique_ptr< BoundarySegment >(ObjectStreamType &), int > | FactoryType |
type of factory creating a unique_ptr from an ObjectStreamType More... | |
Protected Member Functions | |
FaceMapping | readFaceMapping (ObjectStreamType &buffer) |
Static Protected Member Functions | |
static int & | key () |
static std::unique_ptr< BoundarySegment > | restore (ObjectStreamType &in) |
create an object of BoundarySegment type from a previously registered factory linked to key. More... | |
dim | Dimension of the grid |
|
inherited |
typedef Dune::BoundarySegment< dim, dimworld > Dune::BoundarySegmentWrapper< dim, dimworld >::BoundarySegment |
typedef Base::CoordinateType Dune::BoundarySegmentWrapper< dim, dimworld >::CoordinateType |
|
protectedinherited |
type of factory creating a unique_ptr from an ObjectStreamType
|
inline |
constructor
[in] | type | geometry type of the boundary face |
[in] | vertices | vertices of the boundary face |
[in] | boundarySegment | geometric realization of the shaped boundary |
|
inline |
|
inlinevirtual |
write DuneBoundaryProjection's data to stream buffer
buffer | buffer to store data |
Reimplemented from Dune::DuneBoundaryProjection< dimworld >.
|
inline |
|
inlinestaticprotected |
|
inlinevirtual |
projection operator projection a global coordinate
Implements Dune::DuneBoundaryProjection< dimworld >.
|
inlineprotected |
|
inlinestatic |
|
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 |