Diffpack Documentation


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

ElmB4gn2bn2Du Class Reference

u-component of vector 2D linear mixed quadrilateral element. More...

#include <ElmDefs.h>

Inheritance diagram for ElmB4gn2bn2Du::

ElmB4n2D ElmTensorProd ElmDef HandleId List of all members.

Public Methods

 ElmB4gn2bn2Du ()
 ~ElmB4gn2bn2Du ()
virtual void basisFunc (Vec(real) &N, const Ptv(real) &loc_pt) const
virtual void dLocBasisFunc (Mat(real) &dNloc, const Ptv(real) &loc_pt) const
virtual void d2LocBasisFunc (ArrayGen(real) &d2Nloc, const Ptv(real) &loc_pt) const
virtual int getNoBasisNodesOnSide (int side) const

Protected Methods

void setUpBasisNodesOnSide ()

Detailed Description

u-component of vector 2D linear mixed quadrilateral element.

NAME: ElmB4gn2bn2Du - u-component of vector 2D linear mixed quadrilateral element

DESCRIPTION:

The class is derived from class "ElmTensorProd" (order 1) and implements the a two dimensional 2 node linear non-conforming mixed quadrilateral element with two basis function nodes at the middle of two sides. This element is aimed at the u-component of 2D vector fields over quadrilaterals. There is a corresponding element "ElmB4gn2bn2Dv" for the v-component.

Most of the operations on this element type are defined through virtual functions or member functions of the base class "ElmTensorProd" and "ElmDef". See the documentation of class "ElmTensorProd" and "ElmDef" for further explanation of the interface.


Constructor & Destructor Documentation

ElmB4gn2bn2Du::ElmB4gn2bn2Du ( )
 

The only constructor performs all the initialization.

ElmB4gn2bn2Du::~ElmB4gn2bn2Du ( ) [inline]
 


Member Function Documentation

void ElmB4gn2bn2Du::basisFunc ( Vec(real) & N,
const Ptv(real) & loc_pt ) const [virtual]
 

calculates the basis (trial) functions over the element. In other words, the routine computes the interpolation functions for functions defined over the element. Functions entering differential equations etc should be interpolated according to these basis functions. The return array "N" can be empty (not ok) at input, the "basisFunc" will redimension the array properly. The length of "N" equals the number of basis function nodes in the element. For isoparametric elements "basisFunc" and "geomtFunc" are identical. However, for mixed finite elements, one may have a bilinear geometry function (four nodes) and, e.g., a constant basis function. The basis function has then only one node (for example in the centroid of the element) and the length of "N" will be 1. Confer subclasses and the FAQ for information on conventions regarding basis function nodes and the ordering. It should be mentioned that class "BasisFuncGrid" is used to assign basis nodes to a grid (class "GridFE" is meant to contain the geometry of the grid, including geometry nodes).

Reimplemented from ElmTensorProd.

void ElmB4gn2bn2Du::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 ElmB4n2D.

void ElmB4gn2bn2Du::dLocBasisFunc ( Mat(real) & dNloc,
const Ptv(real) & loc_pt ) const [virtual]
 

the derivatives in the local element coordinates of the functions defined by "basisFunc." 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.

int ElmB4gn2bn2Du::getNoBasisNodesOnSide ( int side ) const [virtual]
 

returns the number of basis (trial) function nodes on a specified side of the element.

Reimplemented from ElmDef.

void ElmB4gn2bn2Du::setUpBasisNodesOnSide ( ) [protected]
 


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