Defines a three-dimensional 8-node hexahedral finite element using Q1-isoparametric interpolation. More...
Inheritance diagram for Hexa8:
Public Member Functions | |
| Hexa8 () | |
| Default Constructor. | |
| Hexa8 (const Element *el) | |
| Constructor when data of Element el are given. | |
| ~Hexa8 () | |
| Destructor. | |
| void | setLocal (const Point< double > &s) |
| Initialize local point coordinates in element. | |
| Point< double > | DSh (size_t i) |
Return x, y and z partial derivatives of shape function of node i at a given point. | |
| void | atGauss1 (LocalVect< Point< double >, 8 > &dsh, double &w) |
| Calculate shape function derivatives and integration weights for 1-point Gauss rule. | |
| void | atGauss2 (LocalMatrix< Point< double >, 8, 8 > &dsh, LocalVect< double, 8 > &w) |
| Calculate shape function derivatives and integration weights for 2x2x2-point Gauss rule. | |
| double | getMaxEdgeLength () const |
| Return maximal edge length. | |
| double | getMinEdgeLength () const |
| Return minimal edge length. | |
| double | Sh (size_t i) const |
| Return shape function of node i at given point. | |
| double | Sh (size_t i, Point< double > s) const |
| Calculate shape function of node i at a given point s. | |
| Point< double > | DSh (size_t i) const |
| Return derivatives of shape function of node i at a given point. | |
| double | getDet () const |
| Return determinant of jacobian. | |
| Point< double > | getCenter () const |
| Return coordinates of center of element. | |
| Point< double > | getLocalPoint () const |
| Localize a point in the element. | |
| Point< double > | getLocalPoint (const Point< double > &s) const |
| Localize a point in the element. | |
Detailed Description
Defines a three-dimensional 8-node hexahedral finite element using Q1-isoparametric interpolation.
The reference element is the cube [-1,1]*[-1,1]*[-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 getLocal(s) must be invoked.
Member Function Documentation
Initialize local point coordinates in element.
- Parameters:
-
[in] s Point in the reference element This function computes jacobian, shape functions and their partial derivatives at s. Other member functions only return these values.
Return x, y and z partial derivatives of shape function of node i at a given point.
Member function setLocal must have been called before in order to calcuate relevant quantities.
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 [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.
Reimplemented in Line2H.
| 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 | ( | const Point< double > & | s | ) | const [inherited] |
Localize a point in the element.
Return actual coordinates where s are coordinates in the reference element.
- OFELI
- Hexa8