Stores additional information about two adjacent elements, namely the index, area, diameter and normal of shared interface.
More...
#include <elementPair.hh>
|
Real | area () const |
| Returns the area of the common face. More...
|
|
Real | diam () const |
| Returns the diameter of the common face. More...
|
|
uint | edgeIndex (uint elem, uint edge) const |
| Returns an edge index. More...
|
|
virtual const FvdgElement & | elm1 () const |
|
virtual const concepts::Element< Real > & | elm1 () const=0 |
| Returns reference to the first element. More...
|
|
virtual const FvdgElement & | elm2 () const |
|
virtual const concepts::Element< Real > & | elm2 () const=0 |
| Returns reference to the second element. More...
|
|
uint | faceIdx1 () const |
| Returns the index of the face in element 1. More...
|
|
uint | faceIdx2 () const |
| Returns the index of the face in element 2. More...
|
|
| FvdgElementPair (const FvdgElement &elm, uint faceIdx) |
| Constructor for boundary "pairs": here both elements are the same. More...
|
|
| FvdgElementPair (const FvdgElement &elm1, const FvdgElement &elm2, uint faceIdx1, uint faceIdx2) |
| Constructor. More...
|
|
concepts::Real3d | normal () const |
| Returns the normal vector of the common face. More...
|
|
uint | numPairs () const |
| Returns the number of common edges. More...
|
|
void | quadrature (std::vector< Real > &weights, std::vector< concepts::Real3d > &xi0, std::vector< concepts::Real3d > &xi1) const |
| Returns the quadrature information for quadrature the face. More...
|
|
void | quadrature (std::vector< Real > &weights, std::vector< concepts::Real3d > &xi0, std::vector< concepts::Real3d > &xi1, std::vector< concepts::Real3d > &x) const |
| Returns the quadrature information for quadrature the face. More...
|
|
virtual | ~FvdgElementPair () |
|
Stores additional information about two adjacent elements, namely the index, area, diameter and normal of shared interface.
- Author
- Christoph Winkelmann and Adrian Burri, 2002
Definition at line 27 of file elementPair.hh.
◆ FvdgElementPair() [1/2]
linDG3D::FvdgElementPair::FvdgElementPair |
( |
const FvdgElement & |
elm1, |
|
|
const FvdgElement & |
elm2, |
|
|
uint |
faceIdx1, |
|
|
uint |
faceIdx2 |
|
) |
| |
Constructor.
- Parameters
-
elm1 | First element |
elm2 | Second element |
faceIdx1 | Index of face in first element |
faceIdx2 | Index of face in second element |
◆ FvdgElementPair() [2/2]
linDG3D::FvdgElementPair::FvdgElementPair |
( |
const FvdgElement & |
elm, |
|
|
uint |
faceIdx |
|
) |
| |
Constructor for boundary "pairs": here both elements are the same.
- Parameters
-
elm | Element |
faceIdx | Index of face in element |
◆ ~FvdgElementPair()
virtual linDG3D::FvdgElementPair::~FvdgElementPair |
( |
| ) |
|
|
virtual |
◆ area()
Real linDG3D::FvdgElementPair::area |
( |
| ) |
const |
|
inline |
Returns the area of the common face.
Definition at line 49 of file elementPair.hh.
◆ barycentric_()
◆ diam()
Real linDG3D::FvdgElementPair::diam |
( |
| ) |
const |
|
inline |
Returns the diameter of the common face.
Definition at line 51 of file elementPair.hh.
◆ edgeIndex()
uint linDG3D::FvdgElementPair::edgeIndex |
( |
uint |
elem, |
|
|
uint |
edge |
|
) |
| const |
Returns an edge index.
The edge index is according to the element's internal numbering so that it can be used to query information.
- Parameters
-
elem | Index of the element in consideration (either 0 or 1) |
edge | Index of the edge in the common face |
- Returns
- Index of edge
edge
in element elem
of the pair
◆ edgVtx_()
◆ elm1() [1/2]
virtual const FvdgElement& linDG3D::FvdgElementPair::elm1 |
( |
| ) |
const |
|
inlinevirtual |
◆ elm1() [2/2]
Returns reference to the first element.
◆ elm2() [1/2]
virtual const FvdgElement& linDG3D::FvdgElementPair::elm2 |
( |
| ) |
const |
|
inlinevirtual |
◆ elm2() [2/2]
Returns reference to the second element.
◆ faceIdx1()
uint linDG3D::FvdgElementPair::faceIdx1 |
( |
| ) |
const |
|
inline |
Returns the index of the face in element 1.
Definition at line 87 of file elementPair.hh.
◆ faceIdx2()
uint linDG3D::FvdgElementPair::faceIdx2 |
( |
| ) |
const |
|
inline |
Returns the index of the face in element 2.
Definition at line 89 of file elementPair.hh.
◆ fillData_()
void linDG3D::FvdgElementPair::fillData_ |
( |
| ) |
|
|
private |
◆ fillQuadrature_()
void linDG3D::FvdgElementPair::fillQuadrature_ |
( |
| ) |
|
|
private |
◆ normal()
Returns the normal vector of the common face.
Definition at line 53 of file elementPair.hh.
◆ numPairs()
uint linDG3D::FvdgElementPair::numPairs |
( |
| ) |
const |
|
inline |
Returns the number of common edges.
Definition at line 55 of file elementPair.hh.
◆ quadrature() [1/2]
Returns the quadrature information for quadrature the face.
- Parameters
-
weights | returned quadrature weights |
xi0 | returned reference tetrahedron coordinates of abscissae in element 0 |
xi1 | returned reference tetrahedron coordinates of abscissae in element 1 |
◆ quadrature() [2/2]
Returns the quadrature information for quadrature the face.
- Parameters
-
weights | returned quadrature weights |
xi0 | returned reference tetrahedron coordinates of abscissae in element 0 |
xi1 | returned reference tetrahedron coordinates of abscissae in element 1 |
x | returned real world coordinates of abscissae |
◆ area_
Real linDG3D::FvdgElementPair::area_ |
|
private |
◆ diam_
Real linDG3D::FvdgElementPair::diam_ |
|
private |
◆ edgePairs_
std::vector<std::pair<uint, uint> > linDG3D::FvdgElementPair::edgePairs_ |
|
private |
◆ elm1_
◆ elm2_
◆ faceIdx1_
uint linDG3D::FvdgElementPair::faceIdx1_ |
|
private |
◆ faceIdx2_
uint linDG3D::FvdgElementPair::faceIdx2_ |
|
private |
◆ normal_
◆ weights_
std::vector<Real> linDG3D::FvdgElementPair::weights_ |
|
staticprivate |
◆ xiEdge_
◆ zetaAbsc_
The documentation for this class was generated from the following file: