Line2H Class Reference
[Shape Function]
#include <Line2H.h>

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.
Public Member Functions | |
| double | check () const |
| Check line length and number of line nodes. | |
| double | D2Sh (size_t i, double s) const |
| Return second derivatives (along the abscissa) of shape function of node i. | |
| Point< double > | DSh (size_t i) const |
| Return derivatives of shape function of node i at a given point. | |
| double | DSh (size_t i, double s) const |
| Return first derivative (along the abscissa) of shape function of node i at a given point. | |
| Point< double > | getCenter () const |
| Return coordinates of center of element. | |
| double | getDet () const |
| Return determinant of jacobian. | |
| double | getLength () |
| Return element length. | |
| Point< double > | getLocalPoint (const Point< double > &s) const |
| Localize a point in the element. | |
| Point< double > | getLocalPoint () const |
| Localize a point in the element. | |
| Point< double > | getLocalPoint (double s) const |
| Localize a point in the element. | |
| Line2H (const Side *side) | |
| Constructor for a side. | |
| Line2H (const Element *el) | |
| Constructor for an element. | |
| Line2H () | |
| Default Constructor. | |
| double | Sh (size_t i, Point< double > s) const |
| Calculate shape function of node i at a given point s. | |
| double | Sh (size_t i) const |
| Return shape function of node i at given point. | |
| double | Sh (size_t i, double s) const |
| Return shape function value of node i at given point s. | |
| ~Line2H () | |
| Destructor. | |
Member Function Documentation
| double check | ( | ) | const |
Check line length and number of line nodes.
- Return values:
-
m - > 0 : m is the length
- = 0 : zero length (=> Error)
| Point<double> DSh | ( | size_t | i | ) | const [inherited] |
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 or 2)
Localize a point in the element.
Return actual coordinates where s are coordinates in the reference element.
References FEShape::Sh().
| Point<double> getLocalPoint | ( | ) | const [inherited] |
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.
Reimplemented in Line3.
| Point<double> getLocalPoint | ( | double | s | ) | const |
Localize a point in the element.
For a point s in the reference element, return coordinates in the real element.
| double Sh | ( | size_t | i, | |
| Point< double > | s | |||
| ) | const [inherited] |