To describe a 3-Node quadratic planar line finite element. More...


Public Member Functions | |
Line3 () | |
Default Constructor. | |
Line3 (const Element *el) | |
Constructor for an element. | |
Line3 (const Side *sd) | |
Constructor for a side. | |
~Line3 () | |
Destructor. | |
void | setLocal (double s) |
Initialize local point coordinates in element. | |
double | DSh (size_t i) const |
Return derivatives of shape function of node i at a given point. | |
Point< double > | getLocalPoint () const |
Return actual coordinates of localized point. | |
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_t > | getCenter () const |
Return coordinates of center of element. | |
Point< real_t > | getLocalPoint (const Point< real_t > &s) const |
Localize a point in the element. More... | |
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.
Element nodes are ordered as the following: the left one, the central one and the right one.
Member Function Documentation
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
|
inherited |
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.