|
dune-grid 2.11
|
Base class for classes implementing geometries of boundary segments. More...
#include <dune/grid/common/boundarysegment.hh>

Public Types | |
| typedef BoundarySegment< dim, dimworld, ctype > | ThisType |
| typedef BoundarySegmentBackupRestore< BoundarySegment< dim, dimworld, ctype > > | BaseType |
| typedef BaseType::ObjectStreamType | ObjectStreamType |
Public Member Functions | |
| virtual | ~BoundarySegment () |
| Dummy virtual destructor. | |
| virtual FieldVector< ctype, dimworld > | operator() (const FieldVector< ctype, dim-1 > &local) const =0 |
| A function mapping local coordinates on a boundary segment to world coordinates. | |
| virtual void | backup (ObjectStreamType &buffer) const |
| write BoundarySegment's data to stream buffer | |
Protected Types | |
| typedef BoundarySegment< dim, dimworld, ctype > | BoundarySegment |
| type of BoundarySegment interface class | |
| typedef Dune::ParameterizedObjectFactory< std::unique_ptr< BoundarySegment >(ObjectStreamType &), int > | FactoryType |
| type of factory creating a unique_ptr from an ObjectStreamType | |
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. | |
| static int | registerFactory () |
Detailed Description
struct Dune::BoundarySegment< dim, dimworld, ctype >
Base class for classes implementing geometries of boundary segments.
Some grid implementations, as for example UGGrid, allow to use boundary segments of arbitrary geometry. That means that you can have grid boundaries approach smooth shapes when refining the grid.
Such curved boundary segments are specified by giving classes that implement them. Each boundary segment is implemented by an object of a class derived from BoundarySegment. The set of these objects is handed over to the grid upon grid construction.
- Template Parameters
-
dim Dimension of the grid dimworld Dimension of the Euclidean space the grid is embedded in ctype type of coordinate storage (default is double)
Member Typedef Documentation
◆ BaseType
| typedef BoundarySegmentBackupRestore< BoundarySegment< dim, dimworld, ctype > > Dune::BoundarySegment< dim, dimworld, ctype >::BaseType |
◆ BoundarySegment
|
protectedinherited |
type of BoundarySegment interface class
◆ FactoryType
|
protectedinherited |
type of factory creating a unique_ptr from an ObjectStreamType
◆ ObjectStreamType
| typedef BaseType::ObjectStreamType Dune::BoundarySegment< dim, dimworld, ctype >::ObjectStreamType |
◆ ThisType
| typedef BoundarySegment< dim, dimworld, ctype > Dune::BoundarySegment< dim, dimworld, ctype >::ThisType |
Constructor & Destructor Documentation
◆ ~BoundarySegment()
|
inlinevirtual |
Dummy virtual destructor.
Member Function Documentation
◆ backup()
|
inlinevirtual |
write BoundarySegment's data to stream buffer
- Parameters
-
buffer buffer to store data
◆ operator()()
|
pure virtual |
A function mapping local coordinates on a boundary segment to world coordinates.
◆ registerFactory()
|
inlinestaticprotectedinherited |
◆ restore()
|
inlinestaticprotectedinherited |
create an object of BoundarySegment type from a previously registered factory linked to key.
- Parameters
-
in stream buffer previously written with backup containing key and object data
- Returns
- Object derived from BoundarySegment.
The documentation for this struct was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8