Diffpack Documentation


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

ElmT3gn9bn2Dv Class Reference

v-component of vector 2D linear mixed triangular finite element. More...

#include <ElmDefs.h>

Inheritance diagram for ElmT3gn9bn2Dv::

ElmT3n2D ElmDef HandleId List of all members.

Public Methods

 ElmT3gn9bn2Dv ()
 ~ElmT3gn9bn2Dv ()
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

Protected Methods

void setUpBasisNodesOnSide ()

Detailed Description

v-component of vector 2D linear mixed triangular finite element.

NAME: ElmT3gn9bn2Dv - v-component of vector 2D linear mixed triangular finite element

DESCRIPTION:

The class is derived from class "ElmT3n2D" and implements a two dimensional 9 node quadratic non-conforming mixed triangle element with basis nodes at the middle of each side of the element. This element is aimed at the u-component of 2D vector fields over triangles. This element should be robust for both Stokes problem and the mixed formulation of the Poisson equation. There is a corresponding element "ElmT3gn3bn2Du" for the v-component.

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


Constructor & Destructor Documentation

ElmT3gn9bn2Dv::ElmT3gn9bn2Dv ( )
 

The only constructor performs all the initialization.

ElmT3gn9bn2Dv::~ElmT3gn9bn2Dv ( ) [inline]
 


Member Function Documentation

void ElmT3gn9bn2Dv::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 ElmT3n2D.

void ElmT3gn9bn2Dv::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 ElmT3n2D.

void ElmT3gn9bn2Dv::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 ElmT3n2D.

void ElmT3gn9bn2Dv::setUpBasisNodesOnSide ( ) [protected]
 


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