To describe a 2-Node Hermite planar line finite element. More...


Public Member Functions | |
Line2H () | |
Default Constructor. | |
Line2H (const Element *el) | |
Constructor for an element. | |
Line2H (const Side *side) | |
Constructor for a side. | |
~Line2H () | |
Destructor. | |
Point< real_t > | getLocalPoint (real_t s) const |
Localize a point in the element. More... | |
real_t | Sh (size_t i, real_t s) const |
Return shape function value of node i at given point s | |
real_t | DSh (size_t i, real_t s) const |
Return first derivative (along the abscissa) of shape function of node i at a given point. | |
real_t | D2Sh (size_t i, real_t s) const |
Return second derivatives (along the abscissa) of shape function of node i | |
real_t | getDet () const |
Return determinant of jacobian. | |
real_t | getLength () |
Return element length. | |
real_t | check () const |
Check line length and number of line nodes. More... | |
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... | |
Point< real_t > | DSh (size_t i) const |
Return derivatives of shape function of node i at a given point. More... | |
Point< real_t > | getCenter () const |
Return coordinates of center of element. | |
Point< real_t > | getLocalPoint () const |
Localize a point in the element. More... | |
Point< real_t > | getLocalPoint (const Point< real_t > &s) const |
Localize a point in the element. More... | |
Detailed Description
To describe a 2-Node Hermite planar line finite element.
Defines geometric quantities associated to 2-node segment element in the space using Hermite (C1) interpolation. The interpolation functions are polynomials of degree 3
. The reference element is the segment [-1,1]
. The unknowns are supported by extremities of the interval: each extremity supports two unknowns, the function and its line derivative.
Member Function Documentation
Localize a point in the element.
For a point s
in the reference element, return coordinates in the real element.
real_t check | ( | ) | const |
Check line length and number of line nodes.
- Returns
-
> 0
:m
is the length -
= 0
: zero length (=> Error)
-
Calculate shape function of node i
at a given point s
.
- Parameters
-
[in] i Local node label [in] s Point in the reference triangle where the shape function is evaluated
Return derivatives of shape function of node i
at a given point.
If the transformation (Reference element -> Actual element) is not affine, member function setLocal()
must have been called before in order to calcuate relevant quantities.
- Parameters
-
[in] i Partial derivative index (1, 2 or 3)
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.