Diffpack Documentation


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

ElmB3n1D Class Reference

definition of 1D quadratic finite element. More...

#include <ElmDefs.h>

Inheritance diagram for ElmB3n1D::

ElmTensorProd ElmDef HandleId List of all members.

Public Methods

 ElmB3n1D ()
 ~ElmB3n1D ()
virtual void fillNodePath (MatSimplest(int) &nodes, bool vertices_only)

Detailed Description

definition of 1D quadratic finite element.

NAME: ElmB3n1D - definition of 1D quadratic finite element

DESCRIPTION:

The class is derived from class "ElmTensorProd" and restricts the interpolation to be of order two and the number of space dimensions to equal one. That is, this is the standard 1D quadratic finite element with 3 nodes.

Most of the operations on this element type are defined through virtual functions or member functions of the base class "ElmDef".


Constructor & Destructor Documentation

ElmB3n1D::ElmB3n1D ( )
 

The only constructor performs all the initialization.

ElmB3n1D::~ElmB3n1D ( ) [inline]
 


Member Function Documentation

void ElmB3n1D::fillNodePath ( MatSimplest(int) & nodes,
bool vertices_only ) [virtual]
 

returns an array "nodes" such that side number "s" of the element passes through the nodes "nodes(s,j)" where "j" runs from 1 to the number of nodes on the given side. In case of varying number of nodes per side, the rest of the array row is padded with zeros. The delivered data will deal with local side number "i" in row "i" of "nodes". The orientation of each side is coordinated such that the array describes a counterclockwise traversal of the element boundary. If the flag "vertices_only" is "true", only vertex nodes are returned. Otherwise, non-vertex nodes located on a side (such as midnodes) will also contribute.

Reimplemented from ElmDef.


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