#include <ElmDefs.h>
Inheritance diagram for ElmB8n3D::

Public Methods | |
| ElmB8n3D () | |
| ~ElmB8n3D () | |
| virtual void | geomtFunc (Vec(real) &N, const Ptv(real) &loc_pt) const |
| virtual void | dLocGeomtFunc (Mat(real) &dNloc, const Ptv(real) &loc_pt) const |
| virtual void | d2LocBasisFunc (ArrayGen(real) &d2Nloc, const Ptv(real) &loc_pt) const |
| virtual void | drawElement (const Mat(real) &coor, GraphBasics &plotter, int resolution=1) const |
Static Public Methods | |
| void | shape (Vec(real) &N, const Ptv(real) &loc_pt) |
| void | dshape (Mat(real) &dNloc, const Ptv(real) &loc_pt) |
NAME: ElmB8n3D - definition of 3D trilinear finite element
DESCRIPTION:
The class is derived from class "ElmTensorProd" and restricts the interpolation to be of order one and the number of space dimensions to equal three. That is, this is the standard 3D trilinear finite element with 8 nodes.
Most of the operations on this element type are defined through virtual functions or member functions of the base class "ElmDef". Some of the functions defined in base classes may be found reimplemented in this class in order to increase efficiency by taking advantage of the information on the interpolation order and the number of space dimensions.
|
|
The only constructor performs all the initialization. |
|
|
|
|
|
the second order derivatives in the local element coordinates of the functions defined by "basisFunc". Reimplemented from ElmTensorProd. Reimplemented in ElmB8gn1bn3D. |
|
|
the derivatives in the local element coordinates of the functions defined by "geomtFunc." As for the "geomtFunc" and "basisFunc" functions the return array can be empty or have wrong dimension at input. The function will redimension the array properly. Reimplemented from ElmTensorProd. |
|
|
function for drawing an element in the global, physical coordinate system. The drawing consists of geometric primitives (line segments) in the "GraphBasics" format. Note that this function does not flush or close the "GraphBasics" file so the physical file may be incomplete after a call to this function. An explicit call to "GraphBasics close" will complete the file and make it ready for reading. The function is used in drawing routines in class "DrawFE". Reimplemented from ElmTensorProd. |
|
|
implements the first derivatives of the basis functions for this element type. Primarily for internal use. |
|
|
calculates the geometry functions on the element (see the description above). These functions are used for the isoparametric mapping associated with the element (these functions determine the geometric shape of the element in the global, physical coordinate system). Recall that the geometry functions are defined with respect to the local element coordinate system and the local node numbering of the element. The return array "N" can be empty (not ok) at input; the "geomtFunc" will redimension the array properly. The "N" array contains the values of the geometry functions at the evaluation point. The length of the "N" array equals the number of (geometry) nodes in the element, and the ordering of the entries in "N" follow the ordering of the local nodes Reimplemented from ElmTensorProd. |
|
|
implements the basis functions for this element type. Primarily for internal use. |