Triangular element with constant shape function in 2D. More...
#include <triangle.hh>


Public Types | |
| typedef Real | type |
Public Member Functions | |
| virtual const concepts::Triangle2d & | cell () const |
| Returns the underlying geometrical triangle. | |
| 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 |
| Returns the element graphics object. | |
| virtual 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). | |
| virtual Real | solution (const concepts::Vector< Real > &coeffs, const Real xi1, const Real xi2) const |
| Returns the value of a mesh function within this element. | |
| virtual const concepts::Triangle & | support () const |
| Returns the topological triangle supporting the element. | |
| virtual const concepts::TMatrixBase< Real > & | T () const |
| Returns the T matrix of this element. | |
| uint & | tag () |
| Returns the tag. | |
| TriangleP0 (const concepts::Triangle2d &cell, uint *idx) | |
| 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. | |
Triangular element with constant shape function in 2D.
Definition at line 113 of file triangle.hh.
typedef Real concepts::Element< Real >::type [inherited] |
Definition at line 53 of file element.hh.
| linDG2D::TriangleP0::TriangleP0 | ( | 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 120 of file triangle.hh.
| virtual const concepts::Triangle2d& linDG2D::Triangle::cell | ( | ) | const [inline, virtual, inherited] |
Returns the underlying geometrical triangle.
Implements linearFEM::Element.
Definition at line 42 of file triangle.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>* linDG2D::Triangle::graphics | ( | ) | const [virtual, inherited] |
Returns the element graphics object.
Reimplemented from concepts::Element< Real >.
| virtual std::ostream& linDG2D::TriangleP0::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from linDG2D::Triangle.
| virtual Real linDG2D::TriangleP0::shapeFct | ( | const uint | i, |
| const Real | xi1, | ||
| const Real | xi2 | ||
| ) | const [inline, virtual] |
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 |
Implements linDG2D::Triangle.
Definition at line 129 of file triangle.hh.
| virtual Real linDG2D::TriangleP0::solution | ( | const concepts::Vector< Real > & | coeffs, |
| const Real | xi1, | ||
| const Real | xi2 | ||
| ) | const [virtual] |
Returns the value of a mesh function within this element.
| coeffs | Vector of coefficients representing the mesh function |
| xi1 | first reference element coordinate, in [0,1] |
| xi2 | second reference element coordinate, in [0,xi1] |
Implements linDG2D::Triangle.
| virtual const concepts::Triangle& linDG2D::Triangle::support | ( | ) | const [inline, virtual, inherited] |
Returns the topological triangle supporting the element.
Implements linearFEM::Element.
Definition at line 38 of file triangle.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.
std::auto_ptr<concepts::TMatrixBase<Real> > linearFEM::Element::T_ [protected, inherited] |
T matrix of this element.
Definition at line 47 of file element.hh.