3 #ifndef DUNE_ALU_BNDPROJECTION_HH
4 #define DUNE_ALU_BNDPROJECTION_HH
10 template <
class Gr
idImp,
class ctype =
double >
12 #ifdef ALUGRID_VERTEX_PROJECTION
13 :
public GridImp :: ALUGridVertexProjectionType
16 typedef GridImp GridType;
18 typedef ctype coord_t[ GridType :: dimensionworld ];
28 typedef typename DuneBoundaryProjectionType :: CoordinateType
CoordinateType;
44 const int segmentIndex,
47 #ifdef ALUGRID_VERTEX_PROJECTION
50 grid_.boundaryProjection( segmentIndex );
57 (*bndPrj)(
reinterpret_cast<const CoordinateType &
> (* (&orig[0])) );
DuneBoundaryProjectionType::CoordinateType CoordinateType
type of coordinate vector
Definition: common/bndprojection.hh:28
int operator()(const coord_t &orig, coord_t &prj) const
(old) method projection vertices defaults to segment 0
Definition: common/bndprojection.hh:36
ALUGridBoundaryProjection(const GridType &grid)
constructor storing reference to boundary projection implementation
Definition: common/bndprojection.hh:31
const GridType & grid_
reference to boundary projection implementation
Definition: common/bndprojection.hh:22
GridType::DuneBoundaryProjectionType DuneBoundaryProjectionType
type of boundary projection
Definition: common/bndprojection.hh:25
ALUGrid boundary projection implementation DuneBndProjection has to fulfil the DuneBoundaryProjection...
Definition: common/bndprojection.hh:11