dune-alugrid 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Dune::ALUGridBoundaryProjection< GridImp, ctype > Class Template Reference

ALUGrid boundary projection implementation DuneBndProjection has to fulfil the DuneBoundaryProjection interface. More...

#include <dune/alugrid/common/bndprojection.hh>

Inheritance diagram for Dune::ALUGridBoundaryProjection< GridImp, ctype >:
Inheritance graph

Public Types

typedef GridType::DuneBoundaryProjectionType DuneBoundaryProjectionType
 type of boundary projection More...
 
typedef std::unique_ptr< const DuneBoundaryProjectionTypeDuneBoundaryProjectionPointerType
 
typedef BaseType::ProjectionType ProjectionType
 
typedef DuneBoundaryProjectionType::CoordinateType CoordinateType
 type of coordinate vector More...
 

Public Member Functions

 ALUGridBoundaryProjection (const DuneBoundaryProjectionType *ptr, const ProjectionType pt=BaseType::none)
 constructor storing reference to boundary projection implementation More...
 
ProjectionType projectionType () const
 
int operator() (const coord_t &orig, coord_t &prj) const
 (old) method projection vertices defaults to segment 0 More...
 
int operator() (const coord_t &orig, const int segmentId, coord_t &prj) const
 projection operator More...
 
void backup (BufferType &os) const
 

Static Public Member Functions

static void registerFactory ()
 
static BaseType * factory (BufferType &os)
 

Protected Attributes

DuneBoundaryProjectionPointerType projection_
 
ProjectionType projectionType_
 

Detailed Description

template<class GridImp, class ctype = double>
class Dune::ALUGridBoundaryProjection< GridImp, ctype >

ALUGrid boundary projection implementation DuneBndProjection has to fulfil the DuneBoundaryProjection interface.

Member Typedef Documentation

◆ CoordinateType

template<class GridImp , class ctype = double>
typedef DuneBoundaryProjectionType::CoordinateType Dune::ALUGridBoundaryProjection< GridImp, ctype >::CoordinateType

type of coordinate vector

◆ DuneBoundaryProjectionPointerType

template<class GridImp , class ctype = double>
typedef std::unique_ptr< const DuneBoundaryProjectionType > Dune::ALUGridBoundaryProjection< GridImp, ctype >::DuneBoundaryProjectionPointerType

◆ DuneBoundaryProjectionType

template<class GridImp , class ctype = double>
typedef GridType::DuneBoundaryProjectionType Dune::ALUGridBoundaryProjection< GridImp, ctype >::DuneBoundaryProjectionType

type of boundary projection

◆ ProjectionType

template<class GridImp , class ctype = double>
typedef BaseType::ProjectionType Dune::ALUGridBoundaryProjection< GridImp, ctype >::ProjectionType

Constructor & Destructor Documentation

◆ ALUGridBoundaryProjection()

template<class GridImp , class ctype = double>
Dune::ALUGridBoundaryProjection< GridImp, ctype >::ALUGridBoundaryProjection ( const DuneBoundaryProjectionType ptr,
const ProjectionType  pt = BaseType::none 
)
inline

constructor storing reference to boundary projection implementation

Member Function Documentation

◆ backup()

template<class GridImp , class ctype = double>
void Dune::ALUGridBoundaryProjection< GridImp, ctype >::backup ( BufferType &  os) const
inline

◆ factory()

template<class GridImp , class ctype = double>
static BaseType * Dune::ALUGridBoundaryProjection< GridImp, ctype >::factory ( BufferType &  os)
inlinestatic

◆ operator()() [1/2]

template<class GridImp , class ctype = double>
int Dune::ALUGridBoundaryProjection< GridImp, ctype >::operator() ( const coord_t &  orig,
const int  segmentId,
coord_t &  prj 
) const
inline

projection operator

◆ operator()() [2/2]

template<class GridImp , class ctype = double>
int Dune::ALUGridBoundaryProjection< GridImp, ctype >::operator() ( const coord_t &  orig,
coord_t &  prj 
) const
inline

(old) method projection vertices defaults to segment 0

◆ projectionType()

template<class GridImp , class ctype = double>
ProjectionType Dune::ALUGridBoundaryProjection< GridImp, ctype >::projectionType ( ) const
inline

◆ registerFactory()

template<class GridImp , class ctype = double>
static void Dune::ALUGridBoundaryProjection< GridImp, ctype >::registerFactory ( )
inlinestatic

Member Data Documentation

◆ projection_

template<class GridImp , class ctype = double>
DuneBoundaryProjectionPointerType Dune::ALUGridBoundaryProjection< GridImp, ctype >::projection_
protected

◆ projectionType_

template<class GridImp , class ctype = double>
ProjectionType Dune::ALUGridBoundaryProjection< GridImp, ctype >::projectionType_
protected

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