Tetrahedral element with linear shapefunctions. More...
#include <element.hh>


Public Types | |
| typedef Real | type |
Public Member Functions | |
| virtual const concepts::Tetrahedron3d & | cell () const |
| Returns the geometrical cell of this element. | |
| concepts::Real3d | edgeCenter (uint edgeIdx) const |
Returns the real world coordinates of the center of the edge with index edgeIdx. | |
| Real3d | elemMap (const Real2d &coord_local) const |
| Real3d | elemMap (const Real3d &coord_local) const |
| Real3d | elemMap (const Real coord_local) const |
| FvdgP1TetElem (const concepts::Tetrahedron3d &cell, uint idx[]) | |
| Constructor. | |
| const concepts::ElementGraphics < Real > * | graphics () const |
| Returns the graphics object for the element. | |
| Real | shapeFct (const uint fctIdx, const concepts::Real3d xi) const |
| Shape function. | |
| Real | shapeFctEdgeCenter (const uint fctIdx, const uint edgeIdx) const |
| Shapefunction at edge center. | |
| concepts::Real3d | shapeFctGradient (const uint fctIdx) const |
| Gradient of shape function. | |
| Real | shapeFctVertex (const uint fctIdx, const uint vtxIdx) const |
| Shapefunction at vertex. | |
| Real | solution (const concepts::Vector< Real > &sol, const concepts::Real3d xi) const |
Returns the value of the solution sol at the reference element coordinate xi. | |
| Real | solutionEdgeCenter (const concepts::Vector< Real > &sol, const uint edgeIdx) const |
Returns the value of the solution sol at the center of edge edgeIdx of this tetrahedron. | |
| Real | solutionVertex (const concepts::Vector< Real > &sol, const uint vertexIdx) const |
Returns the value of the solution sol at vertex vertexIdx of this tetrahedron. | |
| 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. | |
| uint & | tag () |
| Returns the tag. | |
| const concepts::Real3d | vertex (const uint i) const |
Returns the vertex with local index i in this element. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns cell and T matrix of this element. | |
Protected Attributes | |
| const concepts::Tetrahedron3d & | cell_ |
| std::auto_ptr < concepts::TMatrixBase< Real > > | T_ |
Static Protected Attributes | |
| static Real | eta_ [6][3] |
| static std::auto_ptr < FvdgP1TetGraphics > | graphics_ |
| Graphics object of the element. | |
| static uint | nonVanishingNbr_ [6] |
| Number of non vanishing shape function at edge centers. | |
| static Real | nonVanishingSign_ [6] |
| Value of non vanishing shape function at edge centers. | |
| static Real | shapeFctEdgeCenter_ [6][4] |
| Values of shape functions at edge centers. | |
| static Real | shapeFctGradient_ [3][4] |
| Values of shape function gradients. | |
| static Real | shapeFctVertex_ [4][4] |
| Values of shape functions at vertices. | |
Tetrahedral element with linear shapefunctions.
Definition at line 177 of file element.hh.
typedef Real concepts::Element< Real >::type [inherited] |
Definition at line 53 of file element.hh.
| linDG3D::FvdgP1TetElem::FvdgP1TetElem | ( | const concepts::Tetrahedron3d & | cell, |
| uint | idx[] | ||
| ) |
Constructor.
Creates a T matrix of type TIndex from idx.
| cell | The Cell the element lives on |
| idx | Describes the map local / global dof |
| virtual const concepts::Tetrahedron3d& linDG3D::FvdgElement::cell | ( | ) | const [inline, virtual, inherited] |
Returns the geometrical cell of this element.
Implements concepts::ElementWithCell< Real >.
Definition at line 42 of file element.hh.
| concepts::Real3d linDG3D::FvdgElement::edgeCenter | ( | uint | edgeIdx | ) | const [inherited] |
Returns the real world coordinates of the center of the edge with index edgeIdx.
| edgeIdx | Edge index |
| Real3d concepts::ElementWithCell< Real >::elemMap | ( | const Real2d & | coord_local | ) | const [inline, inherited] |
| Real3d concepts::ElementWithCell< Real >::elemMap | ( | const Real3d & | coord_local | ) | const [inline, inherited] |
| Real3d concepts::ElementWithCell< Real >::elemMap | ( | const Real | coord_local | ) | const [inline, inherited] |
| const concepts::ElementGraphics<Real>* linDG3D::FvdgP1TetElem::graphics | ( | ) | const [virtual] |
Returns the graphics object for the element.
Implements linDG3D::FvdgElement.
| virtual std::ostream& linDG3D::FvdgP1TetElem::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns cell and T matrix of this element.
Reimplemented from linDG3D::FvdgElement.
| Real linDG3D::FvdgP1TetElem::shapeFct | ( | const uint | fctIdx, |
| const concepts::Real3d | xi | ||
| ) | const [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 |
Implements linDG3D::FvdgElement.
| Real linDG3D::FvdgP1TetElem::shapeFctEdgeCenter | ( | const uint | fctIdx, |
| const uint | edgeIdx | ||
| ) | const [inline, 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 |
Implements linDG3D::FvdgElement.
Definition at line 194 of file element.hh.
| concepts::Real3d linDG3D::FvdgP1TetElem::shapeFctGradient | ( | const uint | fctIdx | ) | const [virtual] |
Gradient of shape function.
Returns the gradient of shape function fctIdx
| fctIdx | number of the shape function |
Implements linDG3D::FvdgElement.
| Real linDG3D::FvdgP1TetElem::shapeFctVertex | ( | const uint | fctIdx, |
| const uint | vtxIdx | ||
| ) | const [inline, 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 |
Implements linDG3D::FvdgElement.
Definition at line 204 of file element.hh.
| Real linDG3D::FvdgElement::solution | ( | const concepts::Vector< Real > & | sol, |
| const concepts::Real3d | xi | ||
| ) | const [inherited] |
Returns the value of the solution sol at the reference element coordinate xi.
| sol | solution vector |
| xi | reference element coordinate to get solution at |
| Real linDG3D::FvdgP1TetElem::solutionEdgeCenter | ( | const concepts::Vector< Real > & | sol, |
| const uint | edgeIdx | ||
| ) | const [virtual] |
Returns the value of the solution sol at the center of edge edgeIdx of this tetrahedron.
| sol | solution vector |
| edgeIdx | number of edge |
Implements linDG3D::FvdgElement.
| Real linDG3D::FvdgP1TetElem::solutionVertex | ( | const concepts::Vector< Real > & | sol, |
| const uint | vertexIdx | ||
| ) | const [virtual] |
Returns the value of the solution sol at vertex vertexIdx of this tetrahedron.
| sol | solution vector |
| vertexIdx | number of vertex |
Implements linDG3D::FvdgElement.
| const concepts::Tetrahedron& linDG3D::FvdgElement::support | ( | ) | const [inline, inherited] |
Returns the topological support of this element.
Definition at line 34 of file element.hh.

| const concepts::TMatrixBase<Real>& linDG3D::FvdgElement::T | ( | ) | const [inline, virtual, inherited] |
Returns the T matrix of this element.
Implements concepts::Element< Real >.
Definition at line 36 of file element.hh.
| uint& concepts::Element< Real >::tag | ( | ) | [inline, inherited] |
Returns the tag.
Definition at line 65 of file element.hh.
| const concepts::Real3d linDG3D::FvdgElement::vertex | ( | const uint | i | ) | const [inline, inherited] |
Returns the vertex with local index i in this element.
Definition at line 38 of file element.hh.

const concepts::Tetrahedron3d& linDG3D::FvdgElement::cell_ [protected, inherited] |
Definition at line 101 of file element.hh.
Real linDG3D::FvdgElement::eta_[6][3] [static, protected, inherited] |
Definition at line 102 of file element.hh.
std::auto_ptr<FvdgP1TetGraphics> linDG3D::FvdgP1TetElem::graphics_ [static, protected] |
Graphics object of the element.
Definition at line 244 of file element.hh.
uint linDG3D::FvdgP1TetElem::nonVanishingNbr_[6] [static, protected] |
Number of non vanishing shape function at edge centers.
Definition at line 238 of file element.hh.
Real linDG3D::FvdgP1TetElem::nonVanishingSign_[6] [static, protected] |
Value of non vanishing shape function at edge centers.
Definition at line 240 of file element.hh.
Real linDG3D::FvdgP1TetElem::shapeFctEdgeCenter_[6][4] [static, protected] |
Values of shape functions at edge centers.
Definition at line 234 of file element.hh.
Real linDG3D::FvdgP1TetElem::shapeFctGradient_[3][4] [static, protected] |
Values of shape function gradients.
Definition at line 236 of file element.hh.
Real linDG3D::FvdgP1TetElem::shapeFctVertex_[4][4] [static, protected] |
Values of shape functions at vertices.
Definition at line 242 of file element.hh.
std::auto_ptr<concepts::TMatrixBase<Real> > linDG3D::FvdgElement::T_ [protected, inherited] |
Definition at line 100 of file element.hh.