#include <element1D.hh>
Public Types | |
typedef Real | type |
Public Member Functions | |
Line (const concepts::Edge1d &cell, uint idx[]) | |
Line (const concepts::Edge1d &cell, concepts::TColumn< Real > *T0, concepts::TColumn< Real > *T1=0) | |
virtual const concepts::Edge & | support () const |
Returns the support of this element. | |
virtual const concepts::Edge1d & | cell () const |
Returns the cell of this element. | |
Real | shapefct (const uint i, const Real xi) const |
Real | shapefctD (const uint i) const |
virtual const concepts::ElementGraphics< Real > * | graphics () const |
virtual const concepts::TMatrixBase< Real > & | T () const |
Returns the T matrix of this element. | |
Real3d | elemMap (const Real coord_local) const |
Real3d | elemMap (const Real2d &coord_local) const |
Real3d | elemMap (const Real3d &coord_local) const |
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::unique_ptr< concepts::TMatrixBase< Real > > | T_ |
T matrix of this element. | |
Line element with linear shape function in 1D.
The cell which is contained in this element is responsible for the topology (connectivity) and the geometry. The shape functions can be evaluated with the shapefct
and shapefctD
members. The information in the T matrix is generated in the space and stored here.
Definition at line 34 of file element1D.hh.
|
inherited |
Definition at line 81 of file element.hh.
|
inline |
Constructor. Creates a T matrix out of idx
.
cell | Cell of the element |
idx | Describes the map local / global dof |
Definition at line 41 of file element1D.hh.
|
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 49 of file element1D.hh.
|
inlinevirtual |
Returns the cell of this element.
Implements linearFEM::Element.
Definition at line 53 of file element1D.hh.
|
inlineinherited |
Definition at line 86 of file element.hh.
|
inlineinherited |
Definition at line 90 of file element.hh.
|
inlineinherited |
Definition at line 94 of file element.hh.
|
virtual |
Reimplemented from concepts::Element< F >.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Real linearFEM::Line::shapefct | ( | const uint | i, |
const Real | xi | ||
) | const |
Computes the value of the ith shape function in the point xi
xi
>= -1 and xi
<= 1 i | Index of the shape fct. (0, 1, 2) |
xi | Coordinate |
Real linearFEM::Line::shapefctD | ( | const uint | i | ) | const |
Returns the derivative of the ith shape function. The shape functions are linear and the derivative is constant. Therefore, no coordinates are necessary.
i | Index of the shape fct. (0, 1) |
|
inlinevirtual |
Returns the support of this element.
Implements linearFEM::Element.
Definition at line 52 of file element1D.hh.
|
inlinevirtualinherited |
Returns the T matrix of this element.
Implements concepts::ElementWithCell< Real >.
Definition at line 47 of file element.hh.
|
inlineinherited |
Returns the tag.
Definition at line 66 of file element.hh.
|
protectedinherited |
T matrix of this element.
Definition at line 50 of file element.hh.