Dune Core Modules (2.8.0)
Dune::BoundarySegmentWrapper< dim, dimworld > Class Template Reference
#include <dune/grid/common/boundaryprojection.hh>
Public Member Functions | |
BoundarySegmentWrapper (const GeometryType &type, const std::vector< CoordinateType > &vertices, const std::shared_ptr< BoundarySegment > &boundarySegment) | |
CoordinateType | operator() (const CoordinateType &global) const |
projection operator projection a global coordinate | |
void | backup (ObjectStreamType &buffer) const |
write DuneBoundaryProjection's data to stream buffer More... | |
Protected Types | |
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. More... | |
Detailed Description
template<int dim, int dimworld>
class Dune::BoundarySegmentWrapper< dim, dimworld >
class Dune::BoundarySegmentWrapper< dim, dimworld >
- Template Parameters
-
dim Dimension of the grid
Constructor & Destructor Documentation
◆ BoundarySegmentWrapper()
template<int dim, int dimworld>
|
inline |
constructor
- Parameters
-
[in] type geometry type of the boundary face [in] vertices vertices of the boundary face [in] boundarySegment geometric realization of the shaped boundary
- Note
- The BoundarySegmentWrapper takes control of the boundary segment.
Member Function Documentation
◆ backup()
template<int dim, int dimworld>
|
inlinevirtual |
write DuneBoundaryProjection's data to stream buffer
- Parameters
-
buffer buffer to store data
Reimplemented from Dune::DuneBoundaryProjection< dimworld >.
References Dune::MultiLinearGeometry< ct, mydim, cdim, Traits >::corner(), Dune::MultiLinearGeometry< ct, mydim, cdim, Traits >::corners(), Dune::FieldVector< double, dimworld >::dimension, and Dune::MultiLinearGeometry< ct, mydim, cdim, Traits >::type().
◆ restore()
template<class BndSeg >
|
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 class was generated from the following file:
- dune/grid/common/boundaryprojection.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 22, 23:30, 2024)