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

#include <monomialshapefunctions.hh>

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

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

Detailed Description

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

multivariate monomials of the form x^a.y^b monomial order/total degree == p ; p <= (a+b)


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.

Public Member Functions

 MonomialShapeFunction (int n, const FieldVector< int, dim > &exp)
virtual ResultType evaluateFunction (int, const FieldVector< CoordType, dim > &x) const
virtual ResultType evaluateDerivative (int, int dir, const FieldVector< CoordType, dim > &x) const
virtual int localindex (int comp) const
virtual int codim () const
virtual int entity () const
virtual int entityindex () const
void print (std::ostream &s) const

Member Enumeration Documentation

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

Enumerator:
dim  Dimension of the ShapeFunction


Constructor & Destructor Documentation

template<typename C, typename T, int d>
Dune::MonomialShapeFunction< C, T, d >::MonomialShapeFunction ( int  n,
const FieldVector< int, dim > &  exp 
) [inline]

Create the n-th MonomialShapeFunction of the ShapeFunctionSet of the given order.

Parameters:
n this is the n-th shape functions in the set
exp exponent a,b of x^a * y^b


Member Function Documentation

template<typename C, typename T, int d>
virtual ResultType Dune::MonomialShapeFunction< C, T, d >::evaluateFunction ( int  ,
const FieldVector< CoordType, dim > &  x 
) const [inline, virtual]

evaluate component comp at point x

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

template<typename C, typename T, int d>
virtual ResultType Dune::MonomialShapeFunction< C, T, d >::evaluateDerivative ( int  ,
int  dir,
const FieldVector< CoordType, dim > &  x 
) const [inline, virtual]

evaluate derivative of component comp in direction dir at point x

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

template<typename C, typename T, int d>
virtual int Dune::MonomialShapeFunction< C, T, d >::localindex ( int  comp  )  const [inline, virtual]

consecutive number of associated dof within element

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

template<typename C, typename T, int d>
virtual int Dune::MonomialShapeFunction< C, T, d >::codim (  )  const [inline, virtual]

codim of associated dof

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

template<typename C, typename T, int d>
virtual int Dune::MonomialShapeFunction< C, T, d >::entity (  )  const [inline, virtual]

entity (of codim) of associated dof

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

template<typename C, typename T, int d>
virtual int Dune::MonomialShapeFunction< C, T, d >::entityindex (  )  const [inline, virtual]

consecutive number of dof within entity

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

template<typename C, typename T, int d>
void Dune::MonomialShapeFunction< C, T, d >::print ( std::ostream &  s  )  const [inline]

pretty print this shape function


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

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