Line3 Class Reference
[Shape Function]
#include <Line3.h>
Inheritance diagram for Line3:

Detailed Description
To describe a 3-Node quadratic planar line finite element.
Defines geometric quantities associated to 3-node quadratic element P2 in the space. The reference element is the segment [-1,1]. The user must take care to the fact that determinant of jacobian and other quantities depend on the point in the reference element where they are calculated. For this, before any utilization of shape functions or jacobian, function setLocal() must be invoked.
Public Member Functions | |
| double | check () const |
| Check line length and number of line nodes. | |
| double | DSh (size_t i) const |
| Return derivatives 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. | |
| Point< double > | getLocalPoint (const Point< double > &s) const |
| Localize a point in the element. | |
| Point< double > | getLocalPoint () const |
| Return actual coordinates of localized point. | |
| Line3 (const Side *side) | |
| Constructor for a side. | |
| Line3 (const Element *element) | |
| Constructor for an element. | |
| Line3 () | |
| Default Constructor. | |
| void | setLocal (double s) |
| Initialize local point coordinates in element. | |
| 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. | |
| ~Line3 () | |
| 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)
| double getDet | ( | ) | const [inherited] |
Localize a point in the element.
Return actual coordinates where s are coordinates in the reference element.
References FEShape::Sh().
| double Sh | ( | size_t | i, | |
| Point< double > | s | |||
| ) | const [inherited] |