6#ifndef dgElementPair_hh
7#define dgElementPair_hh
15#define DEBUG_FILLDATA 0
16#define DEBUG_FILLDATA_CONSISTENCY 0
49 Real
area()
const {
return area_; }
51 Real
diam()
const {
return diam_; }
55 uint
numPairs()
const {
return edgePairs_.size(); }
72 std::vector<concepts::Real3d>& xi0,
73 std::vector<concepts::Real3d>& xi1)
const;
83 std::vector<concepts::Real3d>& xi0,
84 std::vector<concepts::Real3d>& xi1,
85 std::vector<concepts::Real3d>& x)
const;
106 static std::vector<Real> weights_;
107 static std::vector<concepts::Real3d> zetaAbsc_;
109 std::vector<std::pair<uint, uint> > edgePairs_;
111 void fillQuadrature_();
FvdgElementPair(const FvdgElement &elm, uint faceIdx)
void quadrature(std::vector< Real > &weights, std::vector< concepts::Real3d > &xi0, std::vector< concepts::Real3d > &xi1, std::vector< concepts::Real3d > &x) const
concepts::Real3d normal() const
Returns the normal vector of the common face.
uint numPairs() const
Returns the number of common edges.
uint faceIdx1() const
Returns the index of the face in element 1.
Real area() const
Returns the area of the common face.
uint edgeIndex(uint elem, uint edge) const
FvdgElementPair(const FvdgElement &elm1, const FvdgElement &elm2, uint faceIdx1, uint faceIdx2)
virtual const FvdgElement & elm1() const
Returns reference to the first element.
virtual const FvdgElement & elm2() const
Returns reference to the second element.
Real diam() const
Returns the diameter of the common face.
void quadrature(std::vector< Real > &weights, std::vector< concepts::Real3d > &xi0, std::vector< concepts::Real3d > &xi1) const
uint faceIdx2() const
Returns the index of the face in element 2.