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

Detailed Description
Parent class from which inherit all finite element shape classes.Public Member Functions | |
| Point< double > | DSh (size_t i) const |
| Return derivatives of shape function of node i at a given point. | |
| FEShape (const Side *sd) | |
| Constructor for a side. | |
| FEShape (const Element *el) | |
| Constructor for an element. | |
| FEShape () | |
| Default Constructor. | |
| 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 |
| Localize a point in the 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. | |
| virtual | ~FEShape () |
| Destructor. | |
Constructor & Destructor Documentation
Member Function Documentation
| Point<double> DSh | ( | size_t | i | ) | const |
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)
| double getDet | ( | ) | const |
Localize a point in the element.
Return actual coordinates where s are coordinates in the reference element.
References FEShape::Sh().
| Point<double> 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.
Reimplemented in Line3.
| double Sh | ( | size_t | i, | |
| Point< double > | s | |||
| ) | const |