#include <elementPair.hh>
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::Line & | elm1 () const |
Returns reference to the first element. | |
virtual const linearFEM::Line & | elm2 () 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. | |
Element pair for DG FEM. Combines two elements for computing the off-diagonal blocks of the system matrices.
Definition at line 28 of file elementPair.hh.
|
inline |
Constructor. Used for two different elements
elm1 | First element |
elm2 | Second element |
idx1 | Index of the common vertex in the first element |
idx2 | Index of the common vertex in the second element |
Definition at line 36 of file elementPair.hh.
|
inline |
Constructor. Used for two identical elements
elm | Element |
idx | Index of the vertex in the element |
size1 | Size of the element on one side of the vertex |
size2 | Size of the element on the other side of the vertex |
Definition at line 48 of file elementPair.hh.
|
inlinevirtual |
Returns reference to the first element.
Implements concepts::ElementPair< Real >.
Definition at line 55 of file elementPair.hh.
|
inlinevirtual |
Returns reference to the second element.
Implements concepts::ElementPair< Real >.
Definition at line 56 of file elementPair.hh.
|
inline |
Returns index of the vertex in the first element.
Definition at line 58 of file elementPair.hh.
|
inline |
Returns index of the vertex in the second element.
Definition at line 60 of file elementPair.hh.
|
inline |
Returns size of the first element.
Definition at line 62 of file elementPair.hh.
|
inline |
Returns size of the second element.
Definition at line 64 of file elementPair.hh.