linDG2D::ElementPairList Class Reference
Element pair list for two DG spaces. More...
#include <elementPairList.hh>
Public Types | |
typedef concepts::Scan< ElementPair< concepts::Real > > | Scanner |
Public Member Functions | |
void | add (ElementPair< concepts::Real > *elmPair) |
Adds the new ElementPair to the beginning of the list. More... | |
ElementPairList (const Space &spc1, const Space &spc2, const MeshInfo &meshInfo) | |
Constructor. More... | |
Scanner * | scan () const |
Returns a scanner over the list of ElementPairs . More... | |
Private Attributes | |
concepts::Joiner< ElementPair< concepts::Real > *, 1 > * | elmPairs_ |
List of ElementPairs . More... | |
const bool | remove_ |
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.
Definition at line 25 of file elementPairList.hh.
Member Typedef Documentation
◆ Scanner
|
inherited |
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()
|
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()
|
inlineinherited |
Returns a scanner over the list of ElementPairs
.
Definition at line 68 of file elementPairs.hh.
Member Data Documentation
◆ elmPairs_
|
privateinherited |
List of ElementPairs
.
Definition at line 72 of file elementPairs.hh.
◆ remove_
|
privateinherited |
Definition at line 74 of file elementPairs.hh.
The documentation for this class was generated from the following file:
- linDG2D/elementPairList.hh