dune-grid 3.0-git
|
Base class for classes implementing geometries of boundary segments. More...
#include <dune/grid/common/boundarysegment.hh>
Public Member Functions | |
virtual | ~BoundarySegment () |
Dummy virtual destructor. | |
virtual FieldVector< double, dimworld > | operator() (const FieldVector< double, dim-1 > &local) const =0 |
A function mapping local coordinates on a boundary segment to world coordinates. | |
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.
dim | Dimension of the grid |
dimworld | Dimension of the Euclidean space the grid is embedded in |
|
inlinevirtual |
Dummy virtual destructor.
|
pure virtual |
A function mapping local coordinates on a boundary segment to world coordinates.