Dune::ShapeFunction< C, T, d, N > Class Template Reference
[Shapefunctions]

#include <shapefunctions.hh>

Inheritance diagram for Dune::ShapeFunction< C, T, d, N >:

Dune::HierarchicalShapeFunction< Imp::CoordType, Imp::ResultType, Imp::dim > Dune::LagrangeShapeFunction< Imp::CoordType, Imp::ResultType, Imp::dim > Dune::HierarchicalShapeFunctionWrapper< Imp > Dune::LagrangeShapeFunctionWrapper< Imp > List of all members.

Detailed Description

template<typename C, typename T, int d, int N>
class Dune::ShapeFunction< C, T, d, N >

Abstract base class for a shape function.

A shape function $ \phi : \Omega_E \to R^N $ 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 $ \Omega_e $ be the domain of an element $ e $ and $T : \Omega_E \to \Omega_e $ the transformation from the reference element to the element e. Then the basis function $ b $ defined by $ \phi $ is: $ b(T(x)) = \phi(x) $.

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

The documentation for this class was generated from the following file:

Generated on 6 Jan 2009 with Doxygen (ver 1.5.1) [logfile].