dune-localfunctions  2.1.1
Classes | Public Member Functions
Dune::PowerBasis< Backend, dimR > Class Template Reference

Meta-basis turning a scalar basis into vector-valued basis. More...

#include <dune/localfunctions/meta/power/basis.hh>

Inheritance diagram for Dune::PowerBasis< Backend, dimR >:
Inheritance graph

List of all members.

Classes

struct  Traits
 types of domain and range More...

Public Member Functions

 PowerBasis (const Backend &backend_)
 Construct a PowerBasis.
std::size_t size () const
 Number of shape functions.
std::size_t order () const
 Polynomial order of the shape functions for quadrature.
void evaluateFunction (const typename Traits::DomainLocal &in, std::vector< typename Traits::Range > &out) const
 Evaluate all shape functions at given position.
void evaluateJacobian (const typename Traits::DomainLocal &in, std::vector< typename Traits::Jacobian > &out) const
 Evaluate Jacobian of all shape functions at given position.

Detailed Description

template<class Backend, std::size_t dimR>
class Dune::PowerBasis< Backend, dimR >

Meta-basis turning a scalar basis into vector-valued basis.

Template Parameters:
BackendType of basis to take the power of.
dimRPower to raise the basis to.

Constructor & Destructor Documentation

template<class Backend, std::size_t dimR>
Dune::PowerBasis< Backend, dimR >::PowerBasis ( const Backend &  backend_) [inline]

Construct a PowerBasis.

Parameters:
backend_Backend basis object to construct this object from. This object holds a reference to the backend object. This reference is also copied when this object is copied.

Member Function Documentation

template<class Backend, std::size_t dimR>
void Dune::PowerBasis< Backend, dimR >::evaluateFunction ( const typename Traits::DomainLocal &  in,
std::vector< typename Traits::Range > &  out 
) const [inline]

Evaluate all shape functions at given position.

template<class Backend, std::size_t dimR>
void Dune::PowerBasis< Backend, dimR >::evaluateJacobian ( const typename Traits::DomainLocal &  in,
std::vector< typename Traits::Jacobian > &  out 
) const [inline]

Evaluate Jacobian of all shape functions at given position.

template<class Backend, std::size_t dimR>
std::size_t Dune::PowerBasis< Backend, dimR >::order ( ) const [inline]

Polynomial order of the shape functions for quadrature.

template<class Backend, std::size_t dimR>
std::size_t Dune::PowerBasis< Backend, dimR >::size ( ) const [inline]

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