(9)

Parent class from which inherit all finite element shape classes. More...

Inheritance diagram for FEShape:
Hexa8 Line2 Line3 Penta6 Quad4 Tetra4 triangle Triang3 Triang6S

Public Member Functions

 FEShape ()
 Default Constructor.
 
 FEShape (const Element *el)
 Constructor for an element. More...
 
 FEShape (const Side *sd)
 Constructor for a side. More...
 
virtual ~FEShape ()
 Destructor.
 
real_t Sh (size_t i) const
 Return shape function of node i at given point.
 
real_t Sh (size_t i, Point< real_t > s) const
 Calculate shape function of node i at a given point s. More...
 
real_t getDet () const
 Return determinant of jacobian. More...
 
Point< real_tgetCenter () const
 Return coordinates of center of element.
 
Point< real_tgetLocalPoint () const
 Localize a point in the element. More...
 
Point< real_tgetLocalPoint (const Point< real_t > &s) const
 Localize a point in the element. More...
 

Detailed Description

Parent class from which inherit all finite element shape classes.

Author
Rachid Touzani

Constructor & Destructor Documentation

◆ FEShape() [1/2]

FEShape ( const Element el)

Constructor for an element.

Parameters
[in]elPointer to element

◆ FEShape() [2/2]

FEShape ( const Side sd)

Constructor for a side.

Parameters
[in]sdPointer to side

Member Function Documentation

◆ getDet()

real_t getDet ( ) const

Return determinant of jacobian.

If the transformation (Reference element -> Actual element) is not affine, member function setLocal() must have been called before in order to calcuate relevant quantities.

◆ getLocalPoint() [1/2]

Point<real_t> getLocalPoint ( ) const

Localize a point in the element.

Return actual coordinates in the reference element. If the transformation (Reference element -> Actual element) is not affine, member function setLocal() must have been called before in order to calcuate relevant quantities.

◆ getLocalPoint() [2/2]

Point<real_t> getLocalPoint ( const Point< real_t > &  s) const

Localize a point in the element.

Return actual coordinates where s are coordinates in the reference element.

◆ Sh()

real_t Sh ( size_t  i,
Point< real_t s 
) const

Calculate shape function of node i at a given point s.

Parameters
[in]iLocal node label
[in]sPoint in the reference triangle where the shape function is evaluated