Dune::P1LocalBasis< D, R, dim > Class Template Reference

Linear Lagrange shape functions on the simplex. More...

#include <dune/localfunctions/lagrange/p1/p1localbasis.hh>

List of all members.

Public Types

typedef LocalBasisTraits< D,
dim, Dune::FieldVector< D, dim >
, R, 1, Dune::FieldVector< R, 1 >
, Dune::FieldMatrix< R, 1, dim >, 2 > 
Traits
 export type traits for function signature

Public Member Functions

unsigned int size () const
 number of shape functions
void evaluateFunction (const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const
 Evaluate all shape functions.
void evaluateJacobian (const typename Traits::DomainType &in, std::vector< typename Traits::JacobianType > &out) const
 Evaluate Jacobian of all shape functions.
template<unsigned int k>
void evaluate (const typename Dune::array< int, k > &directions, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const
 Evaluate all shape functions.
unsigned int order () const
 Polynomial order of the shape functions.

Detailed Description

template<class D, class R, int dim>
class Dune::P1LocalBasis< D, R, dim >

Linear Lagrange shape functions on the simplex.

Defines the linear shape functions on the simplex.

Template Parameters:
D Type to represent the field in the domain.
R Type to represent the field in the range.
dim The dimension of the simplex

Member Typedef Documentation

template<class D , class R , int dim>
typedef LocalBasisTraits<D,dim,Dune::FieldVector<D,dim>,R,1,Dune::FieldVector<R,1>, Dune::FieldMatrix<R,1,dim>, 2> Dune::P1LocalBasis< D, R, dim >::Traits

export type traits for function signature


Member Function Documentation

template<class D , class R , int dim>
template<unsigned int k>
void Dune::P1LocalBasis< D, R, dim >::evaluate ( const typename Dune::array< int, k > &  directions,
const typename Traits::DomainType in,
std::vector< typename Traits::RangeType > &  out 
) const [inline]
template<class D , class R , int dim>
void Dune::P1LocalBasis< D, R, dim >::evaluateFunction ( const typename Traits::DomainType in,
std::vector< typename Traits::RangeType > &  out 
) const [inline]

Evaluate all shape functions.

References Dune::P1LocalBasis< D, R, dim >::size().

Referenced by Dune::P1LocalBasis< D, R, dim >::evaluate().

template<class D , class R , int dim>
void Dune::P1LocalBasis< D, R, dim >::evaluateJacobian ( const typename Traits::DomainType in,
std::vector< typename Traits::JacobianType > &  out 
) const [inline]

Evaluate Jacobian of all shape functions.

References Dune::P1LocalBasis< D, R, dim >::size().

template<class D , class R , int dim>
unsigned int Dune::P1LocalBasis< D, R, dim >::order (  )  const [inline]

Polynomial order of the shape functions.

template<class D , class R , int dim>
unsigned int Dune::P1LocalBasis< D, R, dim >::size (  )  const [inline]

The documentation for this class was generated from the following file:
Generated on Sat Apr 24 11:15:37 2010 for dune-localfunctions by  doxygen 1.6.3