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

Lagrange shape functions of order 1 on the reference cube. More...

#include <dune/localfunctions/lagrange/q1/q1localbasis.hh>

Inheritance diagram for Dune::Q1LocalBasis< D, R, dim >:
Inheritance graph

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 > > 
Traits

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.
unsigned int order () const
 Polynomial order of the shape functions.

Detailed Description

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

Lagrange shape functions of order 1 on the reference cube.

Also known as $Q^1$.

Template Parameters:
D Type to represent the field in the domain.
R Type to represent the field in the range.
dim Dimension of the cube

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> > Dune::Q1LocalBasis< D, R, dim >::Traits

Member Function Documentation

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

Evaluate all shape functions.

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

Evaluate Jacobian of all shape functions.

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

Polynomial order of the shape functions.

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

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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].