dune-localfunctions 2.10
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
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

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.
 
void partial (const std::array< unsigned int, Backend::Traits::dimDomainGlobal > &order, const typename Traits::DomainLocal &in, std::vector< typename Traits::Range > &out) const
 Evaluate partial derivatives of all shape functions.
 

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

◆ PowerBasis()

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

◆ evaluateFunction()

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.

◆ evaluateJacobian()

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.

◆ order()

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.

◆ partial()

template<class Backend , std::size_t dimR>
void Dune::PowerBasis< Backend, dimR >::partial ( const std::array< unsigned int, Backend::Traits::dimDomainGlobal > &  order,
const typename Traits::DomainLocal &  in,
std::vector< typename Traits::Range > &  out 
) const
inline

Evaluate partial derivatives of all shape functions.

◆ size()

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

Number of shape functions.


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