- Home
- About DUNE
- Download
- Documentation
- Community
- Development
#include <shapefunctions.hh>
Inheritance diagram for Dune::ShapeFunction< C, T, d, N >:

A shape function
has the following properties:
.
In the case N=1 the shape function (and the finite element space) is scalar, otherwise it is vector-valued. The last point is understood as follows let
be the domain of an element
and
the transformation from the reference element to the element e. Then the basis function
defined by
is:
.
A ShapeFunction has the following template parameters:
Public Types | |
| enum | |
| Dimension of the reference domain. | |
| enum | |
| Number of components per shape function. | |
| typedef C | CoordType |
| Type used for the coordinates. | |
| typedef T | ResultType |
| Type used for the result values. | |
Public Member Functions | |
| virtual ResultType | evaluateFunction (int comp, const FieldVector< CoordType, dim > &x) const =0 |
| evaluate component comp at point x | |
| virtual ResultType | evaluateDerivative (int comp, int dir, const FieldVector< CoordType, dim > &x) const=0 |
| evaluate derivative of component comp in direction dir at point x | |
| virtual int | localindex (int comp) const=0 |
| consecutive number of associated dof within element | |
| virtual int | codim () const=0 |
| codim of associated dof | |
| virtual int | entity () const=0 |
| entity (of codim) of associated dof | |
| virtual int | entityindex () const=0 |
| consecutive number of dof within entity | |
| virtual | ~ShapeFunction () |
| virtual destructor | |