Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

ElmB8n3D Class Reference

definition of 3D trilinear finite element. More...

#include <ElmDefs.h>

Inheritance diagram for ElmB8n3D::

ElmTensorProd ElmDef HandleId ElmB8gn1bn3D List of all members.

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)

Detailed Description

definition of 3D trilinear finite element.

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.


Constructor & Destructor Documentation

ElmB8n3D::ElmB8n3D ( )
 

The only constructor performs all the initialization.

ElmB8n3D::~ElmB8n3D ( ) [inline]
 


Member Function Documentation

void ElmB8n3D::d2LocBasisFunc ( ArrayGen(real) & d2Nloc,
const Ptv(real) & loc_pt ) const [virtual]
 

the second order derivatives in the local element coordinates of the functions defined by "basisFunc".

Reimplemented from ElmTensorProd.

Reimplemented in ElmB8gn1bn3D.

void ElmB8n3D::dLocGeomtFunc ( Mat(real) & dNloc,
const Ptv(real) & loc_pt ) const [virtual]
 

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.

void ElmB8n3D::drawElement ( const Mat(real) & coor,
GraphBasics & plotter,
int resolution = 1 ) const [virtual]
 

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.

static void ElmB8n3D::dshape ( Mat(real) & dNloc,
const Ptv(real) & loc_pt ) [static]
 

implements the first derivatives of the basis functions for this element type. Primarily for internal use.

void ElmB8n3D::geomtFunc ( Vec(real) & N,
const Ptv(real) & loc_pt ) const [virtual]
 

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.

static void ElmB8n3D::shape ( Vec(real) & N,
const Ptv(real) & loc_pt ) [static]
 

implements the basis functions for this element type. Primarily for internal use.


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.