dune-localfunctions
2.2.0
|
Meta-basis turning a scalar basis into vector-valued basis. More...
#include <dune/localfunctions/meta/power/basis.hh>
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. |
Meta-basis turning a scalar basis into vector-valued basis.
Backend | Type of basis to take the power of. |
dimR | Power to raise the basis to. |
Dune::PowerBasis< Backend, dimR >::PowerBasis | ( | const Backend & | backend_ | ) | [inline] |
Construct a PowerBasis.
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. |
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.
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.
std::size_t Dune::PowerBasis< Backend, dimR >::order | ( | ) | const [inline] |
Polynomial order of the shape functions for quadrature.
std::size_t Dune::PowerBasis< Backend, dimR >::size | ( | ) | const [inline] |
Number of shape functions.
Referenced by Dune::PowerBasis< typename Backend::Traits::Basis, dimR >::evaluateFunction(), and Dune::PowerBasis< typename Backend::Traits::Basis, dimR >::evaluateJacobian().