dune-localfunctions  2.2.1
Public Types | Public Member Functions | List of all members
Dune::BDM12DLocalBasis< D, R > Class Template Reference

First order Brezzi-Douglas-Marini shape functions on the reference triangle. More...

#include <dune/localfunctions/brezzidouglasmarini/brezzidouglasmarini12d/brezzidouglasmarini12dlocalbasis.hh>

Public Types

typedef LocalBasisTraits< D,
2, Dune::FieldVector< D, 2 >
, R, 2, Dune::FieldVector< R, 2 >
, Dune::FieldMatrix< R, 2, 2 > > 
Traits
 

Public Member Functions

 BDM12DLocalBasis ()
 Standard constructor. More...
 
 BDM12DLocalBasis (unsigned int s)
 Make set number s, where 0 <= s < 8. More...
 
unsigned int size () const
 number of shape functions More...
 
void evaluateFunction (const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const
 Evaluate all shape functions. More...
 
void evaluateJacobian (const typename Traits::DomainType &in, std::vector< typename Traits::JacobianType > &out) const
 Evaluate Jacobian of all shape functions. More...
 
unsigned int order () const
 Polynomial order of the shape functions. More...
 

Detailed Description

template<class D, class R>
class Dune::BDM12DLocalBasis< D, R >

First order Brezzi-Douglas-Marini shape functions on the reference triangle.

Template Parameters
DType to represent the field in the domain.
RType to represent the field in the range.

Member Typedef Documentation

template<class D , class R >
typedef LocalBasisTraits<D,2,Dune::FieldVector<D,2>,R,2,Dune::FieldVector<R,2>, Dune::FieldMatrix<R,2,2> > Dune::BDM12DLocalBasis< D, R >::Traits

Constructor & Destructor Documentation

template<class D , class R >
Dune::BDM12DLocalBasis< D, R >::BDM12DLocalBasis ( )
inline

Standard constructor.

template<class D , class R >
Dune::BDM12DLocalBasis< D, R >::BDM12DLocalBasis ( unsigned int  s)
inline

Make set number s, where 0 <= s < 8.

Parameters
sEdge orientation indicator

Member Function Documentation

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

Evaluate all shape functions.

Parameters
inPosition
outreturn value
template<class D , class R >
void Dune::BDM12DLocalBasis< D, R >::evaluateJacobian ( const typename Traits::DomainType in,
std::vector< typename Traits::JacobianType > &  out 
) const
inline

Evaluate Jacobian of all shape functions.

Parameters
inPosition
outreturn value
template<class D , class R >
unsigned int Dune::BDM12DLocalBasis< D, R >::order ( ) const
inline

Polynomial order of the shape functions.

template<class D , class R >
unsigned int Dune::BDM12DLocalBasis< D, R >::size ( ) const
inline

number of shape functions


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