6#ifndef elementPairDG1D_hh
7#define elementPairDG1D_hh
16#define DGElementPairConstr_D 0
39 size1_(0), size2_(0) {
50 elm1_(elm), elm2_(elm), idx1_(idx), idx2_(idx),
52 DEBUGL(DGElementPairConstr_D,
"Element 1:" <<
size1 <<
", Element2:"
58 uint
idx1()
const {
return idx1_; }
60 uint
idx2()
const {
return idx2_; }
62 Real
size1()
const {
return size1_; }
64 Real
size2()
const {
return size2_; }
70 const Real size1_, size2_;
DGElementPair(const linearFEM::Line &elm, const uint idx, const Real size1, const Real size2)
Real size1() const
Returns size of the first element.
virtual const linearFEM::Line & elm2() const
Returns reference to the second element.
DGElementPair(const linearFEM::Line &elm1, const uint idx1, const linearFEM::Line &elm2, const uint idx2)
virtual const linearFEM::Line & elm1() const
Returns reference to the first element.
uint idx1() const
Returns index of the vertex in the first element.
Real size2() const
Returns size of the second element.
uint idx2() const
Returns index of the vertex in the second element.
#define DEBUGL(doit, msg)