Quadrilateral element with bilinear shape functions in 2D. More...
#include <element2D.hh>


Public Types | |
| typedef Real | type |
Public Member Functions | |
| virtual const concepts::Quad2d & | cell () const |
| Returns the cell of this element. | |
| Real3d | elemMap (const Real coord_local) const |
| Real3d | elemMap (const Real2d &coord_local) const |
| Real3d | elemMap (const Real3d &coord_local) const |
| void | evaluate (Real *res, const Real *x, const uint n) const |
| Evaluates the shape functions in the given one dimensional points. | |
| void | evaluateD (concepts::Real2d *res, const Real *x, const uint n) const |
| Evaluates the derivatives of the shape functions in the given one dimensional points. | |
| virtual const concepts::ElementGraphics < Real > * | graphics () const |
| Quad (const concepts::Quad2d &cell, concepts::TColumn< Real > *T0, concepts::TColumn< Real > *T1=0) | |
| Constructor. | |
| Quad (const concepts::Quad2d &cell, uint idx[]) | |
| Constructor. | |
| virtual const concepts::Quad & | support () const |
| Returns the support of this element. | |
| virtual const concepts::TMatrixBase< Real > & | T () const |
| Returns the T matrix of this element. | |
| uint & | tag () |
| Returns the tag. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| std::auto_ptr < concepts::TMatrixBase< Real > > | T_ |
| T matrix of this element. | |
Private Attributes | |
| const concepts::Quad2d & | cell_ |
| Cell of the element. | |
Static Private Attributes | |
| static std::auto_ptr < QuadGraphics > | graphics_ |
Quadrilateral element with bilinear shape functions in 2D.
In 2D, two different elements are possible: triangles and quadrilaterals.
Definition at line 76 of file element2D.hh.
typedef Real concepts::Element< Real >::type [inherited] |
Definition at line 53 of file element.hh.
| linearFEM::Quad::Quad | ( | const concepts::Quad2d & | cell, |
| uint | idx[] | ||
| ) | [inline] |
Constructor.
Creates a T matrix out of idx.
| cell | Cell of the element |
| idx | Describes the map local / global dof |
Definition at line 83 of file element2D.hh.
| linearFEM::Quad::Quad | ( | const concepts::Quad2d & | cell, |
| concepts::TColumn< Real > * | T0, | ||
| concepts::TColumn< Real > * | T1 = 0 |
||
| ) | [inline] |
Constructor.
Creates a T matrix out of T0 and T1
| cell | Cell of the element |
| T0 | Contains T columns |
| T1 | Contains T columns |
Definition at line 91 of file element2D.hh.
| virtual const concepts::Quad2d& linearFEM::Quad::cell | ( | ) | const [inline, virtual] |
Returns the cell of this element.
Implements linearFEM::Element.
Definition at line 94 of file element2D.hh.
| Real3d concepts::ElementWithCell< Real >::elemMap | ( | const Real | coord_local | ) | const [inline, inherited] |
| Real3d concepts::ElementWithCell< Real >::elemMap | ( | const Real2d & | coord_local | ) | const [inline, inherited] |
| Real3d concepts::ElementWithCell< Real >::elemMap | ( | const Real3d & | coord_local | ) | const [inline, inherited] |
| void linearFEM::Quad::evaluate | ( | Real * | res, |
| const Real * | x, | ||
| const uint | n | ||
| ) | const |
Evaluates the shape functions in the given one dimensional points.
The points in x have to be between -1 and 1 and are tensorised to get two dimensional points.
| res | Values of the shapefunctions with index k in the points (x_i, x_j) with j running fastest and k running slowest |
| x | Points in 1D where the shape functions have to be evaluated. Size: n |
| n | Number of points in x |
| void linearFEM::Quad::evaluateD | ( | concepts::Real2d * | res, |
| const Real * | x, | ||
| const uint | n | ||
| ) | const |
Evaluates the derivatives of the shape functions in the given one dimensional points.
The points in x have to be between -1 and 1 and are tensorised to get two dimensional points.
| res | Values of the shapefunctions with index k in the points (x_i, x_j) with j running fastest and k running slowest |
| x | Points in 1D where the shape functions have to be evaluated. Size: n |
| n | Number of points in x |
| virtual const concepts::ElementGraphics<Real>* linearFEM::Quad::graphics | ( | ) | const [virtual] |
Reimplemented from concepts::Element< Real >.
| virtual std::ostream& linearFEM::Quad::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
| virtual const concepts::Quad& linearFEM::Quad::support | ( | ) | const [inline, virtual] |
Returns the support of this element.
Implements linearFEM::Element.
Definition at line 93 of file element2D.hh.

| virtual const concepts::TMatrixBase<Real>& linearFEM::Element::T | ( | ) | const [inline, virtual, inherited] |
Returns the T matrix of this element.
Implements concepts::Element< Real >.
Definition at line 44 of file element.hh.
| uint& concepts::Element< Real >::tag | ( | ) | [inline, inherited] |
Returns the tag.
Definition at line 65 of file element.hh.
const concepts::Quad2d& linearFEM::Quad::cell_ [private] |
Cell of the element.
Definition at line 122 of file element2D.hh.
std::auto_ptr<QuadGraphics> linearFEM::Quad::graphics_ [static, private] |
Definition at line 123 of file element2D.hh.
std::auto_ptr<concepts::TMatrixBase<Real> > linearFEM::Element::T_ [protected, inherited] |
T matrix of this element.
Definition at line 47 of file element.hh.