linDG2D::ElementPair Class Referenceabstract
Element pair for DG FEM in 2D. More...
#include <elementPair.hh>
Public Member Functions | |
const EdgeInfo & | edgeInfo () const |
Returns the edge information object. More... | |
ElementPair (const Triangle &elm1, const Triangle &elm2, const EdgeInfo &edgeInfo) | |
Constructor. More... | |
virtual const Triangle & | elm1 () const |
Returns the first element. More... | |
virtual const concepts::Element< Real > & | elm1 () const=0 |
Returns reference to the first element. More... | |
virtual const Triangle & | elm2 () const |
Returns the second element. More... | |
virtual const concepts::Element< Real > & | elm2 () const=0 |
Returns reference to the second element. More... | |
Real | shapeFct (uint e, uint i, Real xi) const |
Evaluate trace of shapefunction from element e onto edge. More... | |
Private Attributes | |
const EdgeInfo & | edgeInfo_ |
const Triangle & | elm1_ |
const Triangle & | elm2_ |
uint | idxs_ [2] |
Detailed Description
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.
Constructor & Destructor Documentation
◆ ElementPair()
|
inline |
Constructor.
- Parameters
-
elm1 First element (with test function) elm2 Second element (with ansatz function) edgeInfo edge information
Definition at line 34 of file elementPair.hh.
Member Function Documentation
◆ edgeInfo()
|
inline |
Returns the edge information object.
Definition at line 48 of file elementPair.hh.
◆ elm1() [1/2]
|
inlinevirtual |
Returns the first element.
Definition at line 44 of file elementPair.hh.
◆ elm1() [2/2]
|
pure virtualinherited |
Returns reference to the first element.
◆ elm2() [1/2]
|
inlinevirtual |
Returns the second element.
Definition at line 46 of file elementPair.hh.
◆ elm2() [2/2]
|
pure virtualinherited |
Returns reference to the second element.
◆ shapeFct()
|
inline |
Evaluate trace of shapefunction from element e onto edge.
- Parameters
-
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.
Member Data Documentation
◆ edgeInfo_
|
private |
Definition at line 68 of file elementPair.hh.
◆ elm1_
|
private |
Definition at line 66 of file elementPair.hh.
◆ elm2_
|
private |
Definition at line 67 of file elementPair.hh.
◆ idxs_
|
private |
Definition at line 69 of file elementPair.hh.
The documentation for this class was generated from the following file:
- linDG2D/elementPair.hh