#include <element.hh>
Public Types | |
| typedef Real | type |
Public Member Functions | |
| FvdgElement (const concepts::Tetrahedron3d &cell, uint idx[], uint m) | |
| Constructor. | |
| const concepts::Tetrahedron & | support () const |
| Returns the topological support of this element. | |
| const concepts::TMatrixBase< Real > & | T () const |
| Returns the T matrix of this element. | |
| const concepts::Real3d | vertex (const uint i) const |
Returns the vertex with local index i in this element. | |
| virtual const concepts::Tetrahedron3d & | cell () const |
| Returns the geometrical cell of this element. | |
| virtual Real | shapeFct (const uint fctIdx, const concepts::Real3d xi) const =0 |
| virtual Real | shapeFctEdgeCenter (const uint fctIdx, const uint edgeIdx) const =0 |
| virtual Real | shapeFctVertex (const uint fctIdx, const uint vtxIdx) const =0 |
| virtual concepts::Real3d | shapeFctGradient (const uint fctIdx) const =0 |
| Real | solution (const concepts::Vector< Real > &sol, const concepts::Real3d xi) const |
| virtual Real | solutionEdgeCenter (const concepts::Vector< Real > &sol, const uint edgeIdx) const =0 |
| virtual Real | solutionVertex (const concepts::Vector< Real > &sol, const uint vertexIdx) const =0 |
| concepts::Real3d | edgeCenter (uint edgeIdx) const |
| virtual const concepts::ElementGraphics< Real > * | graphics () const =0 |
| Returns the graphics object for the element. | |
| Real3d | elemMap (const Real coord_local) const |
| Real3d | elemMap (const Real2d &coord_local) const |
| Real3d | elemMap (const Real3d &coord_local) const |
| uint & | tag () |
| Returns the tag. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns cell and T matrix of this element. | |
Protected Attributes | |
| std::unique_ptr< concepts::TMatrixBase< Real > > | T_ |
| const concepts::Tetrahedron3d & | cell_ |
Static Protected Attributes | |
| static Real | eta_ [6][3] |
Generic tetrahedral element for FV/DG method
Definition at line 31 of file element.hh.
|
inherited |
Definition at line 81 of file element.hh.
|
inlinevirtual |
Returns the geometrical cell of this element.
Implements concepts::ElementWithCell< Real >.
Definition at line 44 of file element.hh.
| concepts::Real3d linDG3D::FvdgElement::edgeCenter | ( | uint | edgeIdx | ) | const |
Returns the real world coordinates of the center of the edge with index edgeIdx
| edgeIdx | Edge index |
|
inlineinherited |
Definition at line 86 of file element.hh.
|
inlineinherited |
Definition at line 90 of file element.hh.
|
inlineinherited |
Definition at line 94 of file element.hh.
|
pure virtual |
Returns the graphics object for the element.
Reimplemented from concepts::Element< F >.
Implemented in linDG3D::FvdgP0TetElem, and linDG3D::FvdgP1TetElem.
|
protectedvirtual |
Returns cell and T matrix of this element.
Reimplemented from concepts::OutputOperator.
Reimplemented in linDG3D::FvdgP0TetElem, and linDG3D::FvdgP1TetElem.
|
pure virtual |
Shape function. Returns the value of a shape function
| fctIdx | number of the shape function |
| xi | reference coordinate to evaluate the shape function at |
Implemented in linDG3D::FvdgP0TetElem, and linDG3D::FvdgP1TetElem.
|
pure virtual |
Shapefunction at edge center. Returns the value of shape function fctIdx at center of edge edgeIdx of this tetrahedron
| fctIdx | number of the shape function |
| edgeIdx | number of edge |
Implemented in linDG3D::FvdgP0TetElem, and linDG3D::FvdgP1TetElem.
|
pure virtual |
Gradient of shape function. Returns the gradient of shape function fctIdx
| fctIdx | number of the shape function |
Implemented in linDG3D::FvdgP0TetElem, and linDG3D::FvdgP1TetElem.
|
pure virtual |
Shapefunction at vertex. Returns the value of shape function fctIdx at vertex vtxIdx of this tetrahedron
| fctIdx | number of the shape function |
| vtxIdx | number of vertex |
Implemented in linDG3D::FvdgP0TetElem, and linDG3D::FvdgP1TetElem.
| Real linDG3D::FvdgElement::solution | ( | const concepts::Vector< Real > & | sol, |
| const concepts::Real3d | xi | ||
| ) | const |
Returns the value of the solution sol at the reference element coordinate xi
| sol | solution vector |
| xi | reference element coordinate to get solution at |
|
pure virtual |
Returns the value of the solution sol at the center of edge edgeIdx of this tetrahedron
| sol | solution vector |
| edgeIdx | number of edge |
Implemented in linDG3D::FvdgP0TetElem, and linDG3D::FvdgP1TetElem.
|
pure virtual |
Returns the value of the solution sol at vertex vertexIdx of this tetrahedron
| sol | solution vector |
| vertexIdx | number of vertex |
Implemented in linDG3D::FvdgP0TetElem, and linDG3D::FvdgP1TetElem.
|
inline |
Returns the topological support of this element.
Definition at line 36 of file element.hh.
|
inlinevirtual |
Returns the T matrix of this element.
Implements concepts::ElementWithCell< Real >.
Definition at line 38 of file element.hh.
|
inlineinherited |
Returns the tag.
Definition at line 66 of file element.hh.
|
inline |
Returns the vertex with local index i in this element.
Definition at line 40 of file element.hh.
|
protected |
Definition at line 103 of file element.hh.
|
staticprotected |
Definition at line 104 of file element.hh.
|
protected |
Definition at line 102 of file element.hh.