dune-grid  2.6-git
Public Types | Public Member Functions | List of all members
Dune::BoundarySegmentWrapper< dim, dimworld > Class Template Reference

#include <dune/grid/common/boundaryprojection.hh>

Inheritance diagram for Dune::BoundarySegmentWrapper< dim, dimworld >:
Inheritance graph

Public Types

typedef Base::CoordinateType CoordinateType
 
typedef Dune::BoundarySegment< dim, dimworld > BoundarySegment
 

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 More...
 
const BoundarySegmentboundarySegment () const
 

Detailed Description

template<int dim, int dimworld>
class Dune::BoundarySegmentWrapper< dim, dimworld >

Template Parameters
dimDimension of the grid

Member Typedef Documentation

◆ BoundarySegment

template<int dim, int dimworld>
typedef Dune::BoundarySegment< dim, dimworld > Dune::BoundarySegmentWrapper< dim, dimworld >::BoundarySegment

◆ CoordinateType

template<int dim, int dimworld>
typedef Base::CoordinateType Dune::BoundarySegmentWrapper< dim, dimworld >::CoordinateType

Constructor & Destructor Documentation

◆ BoundarySegmentWrapper()

template<int dim, int dimworld>
Dune::BoundarySegmentWrapper< dim, dimworld >::BoundarySegmentWrapper ( const GeometryType &  type,
const std::vector< CoordinateType > &  vertices,
const std::shared_ptr< BoundarySegment > &  boundarySegment 
)
inline

constructor

Parameters
[in]typegeometry type of the boundary face
[in]verticesvertices of the boundary face
[in]boundarySegmentgeometric realization of the shaped boundary
Note
The BoundarySegmentWrapper takes control of the boundary segment.

Member Function Documentation

◆ boundarySegment()

template<int dim, int dimworld>
const BoundarySegment& Dune::BoundarySegmentWrapper< dim, dimworld >::boundarySegment ( ) const
inline

◆ operator()()

template<int dim, int dimworld>
CoordinateType Dune::BoundarySegmentWrapper< dim, dimworld >::operator() ( const CoordinateType global) const
inlinevirtual

projection operator projection a global coordinate

Implements Dune::DuneBoundaryProjection< dimworld >.


The documentation for this class was generated from the following file: