Class documentation of Concepts

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

#include <elementPairList.hh>

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

Public Types

typedef concepts::Scan< ElementPair< concepts::Real > > Scanner
 

Public Member Functions

 ElementPairList (const Space &spc1, const Space &spc2, const MeshInfo &meshInfo)
 
void add (ElementPair< concepts::Real > *elmPair)
 
Scannerscan () const
 Returns a scanner over the list of ElementPairs.
 

Detailed Description

Element pair list for two DG spaces. Given two spaces spc1 and spc2 on the same mesh, this element pair list is built up such that it contains 4 element pairs for each inner edge and 1 element pair for each boundary edge. The first element of the pair is taken from spc1, the second one from spc2. So spc1 represents the test space, and spc2 the ansatz space.

Author
Christoph Winkelmann, 2004

Definition at line 25 of file elementPairList.hh.

Member Typedef Documentation

◆ Scanner

Definition at line 43 of file elementPairs.hh.

Constructor & Destructor Documentation

◆ ElementPairList()

linDG2D::ElementPairList::ElementPairList ( const Space spc1,
const Space spc2,
const MeshInfo meshInfo 
)

Constructor. Scans meshInfo and adds to the ElementPairList represented by this class 4 element pairs for each inner edge and 1 element pair for each boundary edge. An edge is an inner edge if both cells are != 0 in DGEdgeInfo. The first element of the pair is taken from spc1, the second one from spc2.

Member Function Documentation

◆ add()

void concepts::ElementPairList< concepts::Real >::add ( ElementPair< concepts::Real > *  elmPair)
inlineinherited

Adds the new ElementPair to the beginning of the list. This class takes care of removing elmPair at the end.

Definition at line 63 of file elementPairs.hh.

◆ scan()

Scanner * concepts::ElementPairList< concepts::Real >::scan ( ) const
inlineinherited

Returns a scanner over the list of ElementPairs.

Definition at line 68 of file elementPairs.hh.


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