Triangular element with quadratic shape functions in 2D. More...
#include <triangleP2.hh>


Public Types | |
| typedef Real | type |
Public Member Functions | |
| virtual const concepts::Triangle2d & | 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 |
| virtual const concepts::ElementGraphics < Real > * | graphics () const |
| Real | shapefct (const uint i, const Real xi1, const Real xi2) const |
Computes the value of the ith shape function in the point (xi1, xi2). | |
| concepts::Real2d | shapefctD (const uint i, const Real xi1, const Real xi2) const |
Returns the gradient of the ith shape function in the point (xi1, xi2). | |
| virtual const concepts::Triangle & | 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. | |
| TriangleP2 (const concepts::Triangle2d &cell, uint idx[]) | |
| Constructor. | |
| TriangleP2 (const concepts::Triangle2d &cell, concepts::TColumn< Real > *T0, concepts::TColumn< Real > *T1=0) | |
| Constructor. | |
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::Triangle2d & | cell_ |
| Cell of the element. | |
Static Private Attributes | |
| static std::auto_ptr < TriangleP2Graphics > | graphics_ |
Triangular element with quadratic shape functions in 2D.
Definition at line 41 of file triangleP2.hh.
typedef Real concepts::Element< Real >::type [inherited] |
Definition at line 53 of file element.hh.
| TriangleP2::TriangleP2 | ( | const concepts::Triangle2d & | 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 48 of file triangleP2.hh.
| TriangleP2::TriangleP2 | ( | const concepts::Triangle2d & | 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 56 of file triangleP2.hh.
| virtual const concepts::Triangle2d& TriangleP2::cell | ( | ) | const [inline, virtual] |
Returns the cell of this element.
Implements linearFEM::Element.
Definition at line 61 of file triangleP2.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] |
| virtual const concepts::ElementGraphics<Real>* TriangleP2::graphics | ( | ) | const [virtual] |
Reimplemented from concepts::Element< Real >.
| virtual std::ostream& TriangleP2::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
| Real TriangleP2::shapefct | ( | const uint | i, |
| const Real | xi1, | ||
| const Real | xi2 | ||
| ) | const |
Computes the value of the ith shape function in the point (xi1, xi2).
xi1, xi2 >= 0 and xi2 <= xi1 <= 1 | i | Index of the shape fct. (0, 1, 2) |
| xi1 | First coordinate |
| xi2 | Second coordinate |
| concepts::Real2d TriangleP2::shapefctD | ( | const uint | i, |
| const Real | xi1, | ||
| const Real | xi2 | ||
| ) | const |
Returns the gradient of the ith shape function in the point (xi1, xi2).
| i | Index of the shape fct. (0, 1, 2) |
xi1, xi2 >= 0 and xi2 <= xi1 <= 1 | virtual const concepts::Triangle& TriangleP2::support | ( | ) | const [inline, virtual] |
Returns the support of this element.
Implements linearFEM::Element.
Definition at line 59 of file triangleP2.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::Triangle2d& TriangleP2::cell_ [private] |
Cell of the element.
Definition at line 82 of file triangleP2.hh.
std::auto_ptr<TriangleP2Graphics> TriangleP2::graphics_ [static, private] |
Definition at line 83 of file triangleP2.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.