hp2D::Element< F > Class Template Referenceabstract
Abstract class for a 2D FEM element. More...
#include <element.hh>
Public Types | |
typedef F | type |
Public Member Functions | |
void | appendT (concepts::TColumn< F > *T) |
Appends the T columns to the T matrix. More... | |
virtual const concepts::Cell2 & | cell () const =0 |
Returns the cell on which the element is built. More... | |
Element (concepts::TColumn< F > *T) | |
Constructor. More... | |
Real3d | elemMap (const Real coord_local) const |
Real3d | elemMap (const Real2d &coord_local) const |
Real3d | elemMap (const Real3d &coord_local) const |
virtual const concepts::Connector2 & | support () const =0 |
Returns the topological support of the element. More... | |
virtual const concepts::TMatrix< F > & | T () const |
Returns the T matrix of the element. More... | |
virtual concepts::Real3d | vertex (uint i) const =0 |
Returns the coordinates of the ith vertex of this element. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
concepts::TMatrix< F > | T_ |
T matrix of the element. More... | |
Detailed Description
template<class F>
class hp2D::Element< F >
Abstract class for a 2D FEM element.
All FEM elements have to be derived from this class. It prescribes the interface for querying the support of the element and it has a polynomials degree (ie. hp).
Definition at line 28 of file element.hh.
Member Typedef Documentation
◆ type
|
inherited |
Definition at line 81 of file element.hh.
Constructor & Destructor Documentation
◆ Element()
|
inline |
Constructor.
- Parameters
-
T List of T columns for this element
Definition at line 33 of file element.hh.
Member Function Documentation
◆ appendT()
|
inline |
Appends the T columns to the T matrix.
Definition at line 43 of file element.hh.
◆ cell()
|
pure virtual |
Returns the cell on which the element is built.
Implements concepts::ElementWithCell< F >.
◆ elemMap() [1/3]
|
inlineinherited |
Definition at line 86 of file element.hh.
◆ elemMap() [2/3]
|
inlineinherited |
Definition at line 90 of file element.hh.
◆ elemMap() [3/3]
|
inlineinherited |
Definition at line 94 of file element.hh.
◆ info()
|
protectedvirtual |
Reimplemented in hp2D::InfiniteLaguerreQuad, and hp2D::InfiniteQuad.
◆ support()
|
pure virtual |
Returns the topological support of the element.
Possible supports for an element are quadrilaterals and triangles.
◆ T()
|
inlinevirtual |
Returns the T matrix of the element.
Implements concepts::ElementWithCell< F >.
Definition at line 40 of file element.hh.
◆ vertex()
|
pure virtual |
Returns the coordinates of the ith vertex of this element.
- Parameters
-
i Index of the vertex
Implemented in hp2D::InfiniteQuad.
Member Data Documentation
◆ T_
|
protected |
T matrix of the element.
Definition at line 57 of file element.hh.
The documentation for this class was generated from the following file:
- hp2D/element.hh