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

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.
Public Member Functions | |
| 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 | check () const |
| Check element jacobian and number of nodes. | |
| Point< double > | DSh (size_t i) const |
| Return derivatives of shape function of node i at a given point. | |
| Point< double > | DSh (size_t i) |
| 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 |
| Localize a point in the element. | |
| double | getMaxEdgeLength () const |
| Return maximal edge length. | |
| double | getMinEdgeLength () const |
| Return minimal edge length. | |
| Hexa8 (const Element *el) | |
| Constructor when data of Element el are given. | |
| Hexa8 () | |
| Default Constructor. | |
| void | setLocal (const Point< 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. | |
| ~Hexa8 () | |
| Destructor. | |
Member Function Documentation
| double check | ( | ) | const |
Check element jacobian and number of 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)
| Point<double> DSh | ( | size_t | i | ) |
Return 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.
| double getDet | ( | ) | const [inherited] |
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.
| void setLocal | ( | const Point< double > & | s | ) |
Initialize local point coordinates in element.
s is a point in the reference element This function computes jacobian, shape functions and their partial derivatives at s. Other member functions only return these values.
| double Sh | ( | size_t | i, | |
| Point< double > | s | |||
| ) | const [inherited] |