3 #ifndef DUNE_ALU2D_BNDPROJECTION_HH
4 #define DUNE_ALU2D_BNDPROJECTION_HH
13 template<
class Gr
id >
33 int operator() (
const hbndel_t *hbndel,
const double local,
double (&global)[
ncoord ] )
const
35 return callProjection( grid_.boundaryProjection( hbndel->segmentIndex() ), global );
38 int operator() (
const helement_t *helement,
const double (&local)[ 2 ],
double (&global)[
ncoord ] )
const
40 return callProjection( grid_.globalProjection(), global );
44 static int callProjection (
const DuneBoundaryProjectionType *prj,
double (&global)[
ncoord ] )
49 for(
int i = 0; i <
ncoord; ++i )
52 for(
int i = 0; i <
ncoord; ++i )
63 #endif // #ifndef DUNE_ALU2D_BNDPROJECTION_HH
Base::helement_t helement_t
Definition: 2d/bndprojection.hh:23
#define ALU2DDIMWORLD(dimw, eltype)
Definition: alu2dinclude.hh:37
Include standard header files.
Definition: agrid.hh:59
Definition: 2d/bndprojection.hh:20
Grid abstract base classThis class is the base class for all grid implementations. Although no virtual functions are used we call it abstract since its methods do not contain an implementation but forward to the methods of the derived class via the Barton-Nackman trick.
Definition: common/grid.hh:388
DuneBoundaryProjectionType::CoordinateType CoordinateType
Definition: 2d/bndprojection.hh:27
The dimension of the world the grid lives in.
Definition: common/grid.hh:408
Grid::DuneBoundaryProjectionType DuneBoundaryProjectionType
Definition: 2d/bndprojection.hh:25
Base::hbndel_t hbndel_t
Definition: 2d/bndprojection.hh:22
ALU2dGridBoundaryProjection(const Grid &grid)
Definition: 2d/bndprojection.hh:29
int operator()(const hbndel_t *hbndel, const double local, double(&global)[ncoord]) const
Definition: 2d/bndprojection.hh:33
#define ALU2DSPACE
Definition: alu2dinclude.hh:34
Definition: 2d/bndprojection.hh:14