Dune::MonomialShapeFunctionSet< C, T, d > Class Template Reference
[ShapefunctionsShapefunctions]

#include <monomialshapefunctions.hh>

Inheritance diagram for Dune::MonomialShapeFunctionSet< C, T, d >:

Dune::ShapeFunctionSet< C, T, d, 1 > List of all members.

Detailed Description

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

a ShapeFunctionSet of monomial shapefunctions

The shape functions map from C^d to T.

template parameters are:

The order of the shape functions is a parameter to the constructor


Public Types

enum  { dim = d }
typedef C CoordType
 Type used for the coordinates.
typedef T ResultType
 Type used for the result values.
enum  
 Dimension of the reference domain.
enum  
 Number of components per shape function.
typedef ShapeFunction< C,
T, d, N > 
value_type
 The type of the entries in this container.

Public Member Functions

 MonomialShapeFunctionSet (int order)
virtual int size () const
 total number of shape functions, i.e. degrees of freedom
virtual int size (int entity, int codim) const
 
virtual const ShapeFunctionoperator[] (int i) const
 random access to i'th ShapeFunction
virtual int order () const
 return order
virtual GeometryType type () const
 return type of element where this ShapeFunctionSet is for

Member Enumeration Documentation

template<typename C, typename T, int d>
anonymous enum

Enumerator:
dim  Dimension of the ShapeFunctionSet


Constructor & Destructor Documentation

template<typename C, typename T, int d>
Dune::MonomialShapeFunctionSet< C, T, d >::MonomialShapeFunctionSet ( int  order  )  [inline]

Construct a monomial shape function set of given order


Member Function Documentation

template<typename C, typename T, int d>
virtual GeometryType Dune::MonomialShapeFunctionSet< C, T, d >::type (  )  const [inline, virtual]

return type of element where this ShapeFunctionSet is for

we dont' have a special geometry, so we return unitsquare

Implements Dune::ShapeFunctionSet< C, T, d, 1 >.


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

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