#include <elementPair.hh>
Public Member Functions | |
ElementPair (const Triangle &elm1, const Triangle &elm2, const EdgeInfo &edgeInfo) | |
virtual const Triangle & | elm1 () const |
Returns the first element. | |
virtual const Triangle & | elm2 () const |
Returns the second element. | |
const EdgeInfo & | edgeInfo () const |
Returns the edge information object. | |
Real | shapeFct (uint e, uint i, Real xi) const |
Element pair for DG FEM in 2D. Combines two elements for computing the off-diagonal blocks of the system matrices.
Definition at line 27 of file elementPair.hh.
|
inline |
Constructor.
elm1 | First element (with test function) |
elm2 | Second element (with ansatz function) |
edgeInfo | edge information |
Definition at line 34 of file elementPair.hh.
|
inline |
Returns the edge information object.
Definition at line 48 of file elementPair.hh.
|
inlinevirtual |
Returns the first element.
Implements concepts::ElementPair< Real >.
Definition at line 44 of file elementPair.hh.
|
inlinevirtual |
Returns the second element.
Implements concepts::ElementPair< Real >.
Definition at line 46 of file elementPair.hh.
|
inline |
Evaluate trace of shapefunction from element e onto edge
e | element to take shapefunction from (0 for testfunction, 1 for ansatz function) |
i | number of the shapefunction (0, 1 or 2) |
xi | reference coordinate on edge in (0,1) |
Definition at line 55 of file elementPair.hh.