NAME
ElmTensorProd1 - definition of 1st order tensor product finite
elements
INCLUDE
include "ElmDefs.h"
SYNTAX
class ElmTensorProd1 : public ElmTensorProd
{
public:
static real elmSideArea(int side, const Mat(real) coor, int nsd);
static void normalVector(int side, const Mat(real) coor, Ptv(real)& normal,
int nsd);
static void getLocalMidPoint(int side, Ptv(real)& coor, int nsd);
ElmTensorProd1 (int nsd_)
: ElmTensorProd (nsd_, 1) {}
~ElmTensorProd1 () {}
CLASS_INFO
};
KEYWORDS
finite element, tensor product element, Lagrange element family,
first order element
DESCRIPTION
The class is derived from class ElmTensorProd and restricts the
interpolation to be of order one (linear, bilinear, trilinear,..
elements). Elements in an arbitrary number of space dimensions
are provided.
Most of the operations on this element type are defined through
virtual functions or member functions of the base class ElmDef.
See the documentation of class ElmDef for further explanation of
the interface.
CONSTRUCTORS AND INITIALIZATION
The only constructor performs all the initialization.
SEE ALSO
class ElmDef, class ElmTensorProd, class ElmTensorProd2
DEVELOPED BY
SINTEF Applied Mathematics, Oslo, Norway, and University of Oslo,
Dept. of Mathematics, Norway
AUTHOR
Hans Petter Langtangen, SINTEF/UiO