Class documentation of Concepts

Loading...
Searching...
No Matches
linDG1D::DGElementPair Class Reference

#include <elementPair.hh>

Inheritance diagram for linDG1D::DGElementPair:
concepts::ElementPair< Real >

Public Member Functions

 DGElementPair (const linearFEM::Line &elm1, const uint idx1, const linearFEM::Line &elm2, const uint idx2)
 
 DGElementPair (const linearFEM::Line &elm, const uint idx, const Real size1, const Real size2)
 
virtual const linearFEM::Lineelm1 () const
 Returns reference to the first element.
 
virtual const linearFEM::Lineelm2 () const
 Returns reference to the second element.
 
uint idx1 () const
 Returns index of the vertex in the first element.
 
uint idx2 () const
 Returns index of the vertex in the second element.
 
Real size1 () const
 Returns size of the first element.
 
Real size2 () const
 Returns size of the second element.
 

Detailed Description

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

Author
Thomas Wihler, 2003

Definition at line 28 of file elementPair.hh.

Constructor & Destructor Documentation

◆ DGElementPair() [1/2]

linDG1D::DGElementPair::DGElementPair ( const linearFEM::Line elm1,
const uint  idx1,
const linearFEM::Line elm2,
const uint  idx2 
)
inline

Constructor. Used for two different elements

Parameters
elm1First element
elm2Second element
idx1Index of the common vertex in the first element
idx2Index of the common vertex in the second element

Definition at line 36 of file elementPair.hh.

◆ DGElementPair() [2/2]

linDG1D::DGElementPair::DGElementPair ( const linearFEM::Line elm,
const uint  idx,
const Real  size1,
const Real  size2 
)
inline

Constructor. Used for two identical elements

Parameters
elmElement
idxIndex of the vertex in the element
size1Size of the element on one side of the vertex
size2Size of the element on the other side of the vertex

Definition at line 48 of file elementPair.hh.

Member Function Documentation

◆ elm1()

virtual const linearFEM::Line & linDG1D::DGElementPair::elm1 ( ) const
inlinevirtual

Returns reference to the first element.

Implements concepts::ElementPair< Real >.

Definition at line 55 of file elementPair.hh.

◆ elm2()

virtual const linearFEM::Line & linDG1D::DGElementPair::elm2 ( ) const
inlinevirtual

Returns reference to the second element.

Implements concepts::ElementPair< Real >.

Definition at line 56 of file elementPair.hh.

◆ idx1()

uint linDG1D::DGElementPair::idx1 ( ) const
inline

Returns index of the vertex in the first element.

Definition at line 58 of file elementPair.hh.

◆ idx2()

uint linDG1D::DGElementPair::idx2 ( ) const
inline

Returns index of the vertex in the second element.

Definition at line 60 of file elementPair.hh.

◆ size1()

Real linDG1D::DGElementPair::size1 ( ) const
inline

Returns size of the first element.

Definition at line 62 of file elementPair.hh.

◆ size2()

Real linDG1D::DGElementPair::size2 ( ) const
inline

Returns size of the second element.

Definition at line 64 of file elementPair.hh.


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