Dune Core Modules (2.6.0)

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>

Classes

struct  Traits
 types of domain and range More...
 

Public Member Functions

 PowerBasis (const Backend &backend_)
 Construct a PowerBasis. More...
 
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.

The documentation for this class was generated from the following file:
  • dune/localfunctions/meta/power/basis.hh
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)