Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
linDG3D::FvdgP1TetElem Class Reference

Tetrahedral element with linear shapefunctions. More...

#include <element.hh>

Inheritance diagram for linDG3D::FvdgP1TetElem:
Inheritance graph
[legend]
Collaboration diagram for linDG3D::FvdgP1TetElem:
Collaboration graph
[legend]

List of all members.

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::Tetrahedronsupport () 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::Tetrahedron3dcell_
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.

Detailed Description

Tetrahedral element with linear shapefunctions.

Author:
Christoph Winkelmann, 2002

Definition at line 177 of file element.hh.


Member Typedef Documentation

typedef Real concepts::Element< Real >::type [inherited]

Definition at line 53 of file element.hh.


Constructor & Destructor Documentation

linDG3D::FvdgP1TetElem::FvdgP1TetElem ( const concepts::Tetrahedron3d cell,
uint  idx[] 
)

Constructor.

Creates a T matrix of type TIndex from idx.

Parameters:
cellThe Cell the element lives on
idxDescribes the map local / global dof

Member Function Documentation

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.

Parameters:
edgeIdxEdge index
Real3d concepts::ElementWithCell< Real >::elemMap ( const Real2d coord_local) const [inline, inherited]

Definition at line 87 of file element.hh.

Here is the call graph for this function:

Real3d concepts::ElementWithCell< Real >::elemMap ( const Real3d coord_local) const [inline, inherited]

Definition at line 91 of file element.hh.

Here is the call graph for this function:

Real3d concepts::ElementWithCell< Real >::elemMap ( const Real  coord_local) const [inline, inherited]

Definition at line 83 of file element.hh.

Here is the call graph for this function:

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

Parameters:
fctIdxnumber of the shape function
xireference 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

Parameters:
fctIdxnumber of the shape function
edgeIdxnumber 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

Parameters:
fctIdxnumber 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

Parameters:
fctIdxnumber of the shape function
vtxIdxnumber 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.

Parameters:
solsolution vector
xireference 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.

Parameters:
solsolution vector
edgeIdxnumber 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.

Parameters:
solsolution vector
vertexIdxnumber 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.

Here is the call graph for this function:

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.

Here is the call graph for this function:


Member Data Documentation

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.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)