Class documentation of Concepts

Loading...
Searching...
No Matches
linDG2D::ElementPair Class Reference

#include <elementPair.hh>

Inheritance diagram for linDG2D::ElementPair:
concepts::ElementPair< Real >

Public Member Functions

 ElementPair (const Triangle &elm1, const Triangle &elm2, const EdgeInfo &edgeInfo)
 
virtual const Triangleelm1 () const
 Returns the first element.
 
virtual const Triangleelm2 () const
 Returns the second element.
 
const EdgeInfoedgeInfo () const
 Returns the edge information object.
 
Real shapeFct (uint e, uint i, Real xi) const
 

Detailed Description

Element pair for DG FEM in 2D. Combines two elements for computing the off-diagonal blocks of the system matrices.

Author
Christoph Winkelmann, 2003

Definition at line 27 of file elementPair.hh.

Constructor & Destructor Documentation

◆ ElementPair()

linDG2D::ElementPair::ElementPair ( const Triangle elm1,
const Triangle elm2,
const EdgeInfo edgeInfo 
)
inline

Constructor.

Parameters
elm1First element (with test function)
elm2Second element (with ansatz function)
edgeInfoedge information

Definition at line 34 of file elementPair.hh.

Member Function Documentation

◆ edgeInfo()

const EdgeInfo & linDG2D::ElementPair::edgeInfo ( ) const
inline

Returns the edge information object.

Definition at line 48 of file elementPair.hh.

◆ elm1()

virtual const Triangle & linDG2D::ElementPair::elm1 ( ) const
inlinevirtual

Returns the first element.

Implements concepts::ElementPair< Real >.

Definition at line 44 of file elementPair.hh.

◆ elm2()

virtual const Triangle & linDG2D::ElementPair::elm2 ( ) const
inlinevirtual

Returns the second element.

Implements concepts::ElementPair< Real >.

Definition at line 46 of file elementPair.hh.

◆ shapeFct()

Real linDG2D::ElementPair::shapeFct ( uint  e,
uint  i,
Real  xi 
) const
inline

Evaluate trace of shapefunction from element e onto edge

Parameters
eelement to take shapefunction from (0 for testfunction, 1 for ansatz function)
inumber of the shapefunction (0, 1 or 2)
xireference coordinate on edge in (0,1)

Definition at line 55 of file elementPair.hh.


The documentation for this class was generated from the following file: