linearFEM::Element Class Referenceabstract

Base class for the element for linear FEM. More...

#include <element.hh>

Inheritance diagram for linearFEM::Element:
concepts::ElementWithCell< Real > linDG2D::Triangle linearFEM::Line linearFEM::Quad linearFEM::Tetrahedron linearFEM::Triangle linDG2D::TriangleP0 linDG2D::TriangleP1

Public Types

typedef Real type
 

Public Member Functions

virtual const concepts::Cellcell () const =0
 Returns the cell of this element. More...
 
virtual const Cell & cell () const=0
 Returns the cell on which the element is built. More...
 
 Element (concepts::TColumn< Real > *T0, concepts::TColumn< Real > *T1)
 Constructor. More...
 
 Element (const uint i, uint idx[])
 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::Connectorsupport () const =0
 Returns the support of this element. More...
 
virtual const concepts::TMatrixBase< Real > & T () const
 Returns the T matrix of this element. More...
 
virtual const TMatrixBase< Real > & T () const=0
 Returns the T matrix of the element. More...
 

Protected Attributes

std::unique_ptr< concepts::TMatrixBase< Real > > T_
 T matrix of this element. More...
 

Detailed Description

Base class for the element for linear FEM.

Author
Philipp Frauenfelder, 2002

Definition at line 30 of file element.hh.

Member Typedef Documentation

◆ type

typedef Real concepts::ElementWithCell< Real >::type
inherited

Definition at line 81 of file element.hh.

Constructor & Destructor Documentation

◆ Element() [1/2]

linearFEM::Element::Element ( const uint  i,
uint  idx[] 
)

Constructor.

Creates a T matrix of type TIndex from idx.

Parameters
iSize of idx
idxDescribes the map local / global dof

◆ Element() [2/2]

linearFEM::Element::Element ( concepts::TColumn< Real > *  T0,
concepts::TColumn< Real > *  T1 
)

Constructor.

Creates a T matrix out of T0 and T1

Parameters
T0Contains T columns
T1Contains T columns

Member Function Documentation

◆ cell() [1/2]

virtual const concepts::Cell& linearFEM::Element::cell ( ) const
pure virtual

Returns the cell of this element.

Implemented in linearFEM::Tetrahedron, linearFEM::Quad, linearFEM::Triangle, linearFEM::Line, and linDG2D::Triangle.

◆ cell() [2/2]

virtual const Cell& concepts::ElementWithCell< Real >::cell ( ) const
pure virtualinherited

Returns the cell on which the element is built.

Implemented in hp3D::Element< Real >, hp2D::Element< Real >, and hp1D::BaseElement< Real >.

◆ elemMap() [1/3]

Real3d concepts::ElementWithCell< Real >::elemMap ( const Real  coord_local) const
inlineinherited

Definition at line 86 of file element.hh.

◆ elemMap() [2/3]

Real3d concepts::ElementWithCell< Real >::elemMap ( const Real2d coord_local) const
inlineinherited

Definition at line 90 of file element.hh.

◆ elemMap() [3/3]

Real3d concepts::ElementWithCell< Real >::elemMap ( const Real3d coord_local) const
inlineinherited

Definition at line 94 of file element.hh.

◆ support()

virtual const concepts::Connector& linearFEM::Element::support ( ) const
pure virtual

Returns the support of this element.

Implemented in linearFEM::Tetrahedron, linearFEM::Quad, linearFEM::Triangle, linearFEM::Line, and linDG2D::Triangle.

◆ T() [1/2]

virtual const concepts::TMatrixBase<Real>& linearFEM::Element::T ( ) const
inlinevirtual

Returns the T matrix of this element.

Definition at line 47 of file element.hh.

◆ T() [2/2]

virtual const TMatrixBase<Real >& concepts::ElementWithCell< Real >::T ( ) const
pure virtualinherited

Returns the T matrix of the element.

Implemented in hp3D::Element< Real >, and hp2D::Element< Real >.

Member Data Documentation

◆ T_

std::unique_ptr<concepts::TMatrixBase<Real> > linearFEM::Element::T_
protected

T matrix of this element.

Definition at line 50 of file element.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich