linDG2D::ElementPairList Class Reference

Element pair list for two DG spaces. More...

#include <elementPairList.hh>

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

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...
 
Scannerscan () 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.

Author
Christoph Winkelmann, 2004

Definition at line 25 of file elementPairList.hh.

Member Typedef Documentation

◆ Scanner

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()

Returns a scanner over the list of ElementPairs.

Definition at line 68 of file elementPairs.hh.

Member Data Documentation

◆ elmPairs_

List of ElementPairs.

Definition at line 72 of file elementPairs.hh.

◆ remove_

const bool concepts::ElementPairList< concepts::Real >::remove_
privateinherited

Definition at line 74 of file elementPairs.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich