6#ifndef elementPairDG2D_hh
7#define elementPairDG2D_hh
15#define DGElementPair2dConstr_D 0
56 const Triangle& elm = e == 0 ? elm1_ : elm2_;
57 Real xim = &(elm.
cell()) == edgeInfo_.
cell(0) ? xi : 1.0 - xi;
59 case 0:
return elm.
shapeFct(i, xim, 0.0);
60 case 1:
return elm.
shapeFct(i, 1.0, xim);
61 case 2:
return elm.
shapeFct(i, 1.0-xim, 1.0-xim);
const concepts::Triangle2d * cell(uint i) const
virtual const Triangle & elm2() const
Returns the second element.
const EdgeInfo & edgeInfo() const
Returns the edge information object.
ElementPair(const Triangle &elm1, const Triangle &elm2, const EdgeInfo &edgeInfo)
virtual const Triangle & elm1() const
Returns the first element.
Real shapeFct(uint e, uint i, Real xi) const
virtual const concepts::Triangle2d & cell() const
Returns the underlying geometrical triangle.
virtual Real shapeFct(const uint i, const Real xi1, const Real xi2) const =0
#define conceptsAssert(cond, exc)
#define DEBUGL(doit, msg)