4 #ifndef DUNE_LOCALFUNCTIONS_META_POWER_HH
5 #define DUNE_LOCALFUNCTIONS_META_POWER_HH
9 #include <dune/common/shared_ptr.hh>
11 #include <dune/geometry/type.hh>
27 template<
class Backend, std::
size_t dimR>
41 shared_ptr<const Backend> backend;
53 backend(new Backend(backend_)),
54 basis_(backend->
basis()),
66 basis_(backend->
basis()),
83 {
return coefficients_; }
90 {
return interpolation_; }
92 GeometryType
type()
const {
return backend->type(); }
104 template<
class BackendFiniteElement, std::
size_t dimR>
124 make(
const shared_ptr<const BackendFiniteElement> &backendSPtr)
const
131 #endif // DUNE_LOCALFUNCTIONS_META_POWER_HH
Meta-coefficients turning a scalar coefficients into vector-valued coefficients.
Definition: meta/power/coefficients.hh:20
Meta-interpolation turning a scalar interpolation into vector-valued interpolation.
Definition: meta/power/interpolation.hh:25
PowerFiniteElement(const Backend &backend_)
Construct a finite element.
Definition: power.hh:52
const Traits::Interpolation & interpolation() const
Extract interpolation of this finite element.
Definition: power.hh:89
const FiniteElement make(const shared_ptr< const BackendFiniteElement > &backendSPtr) const
create a finite element
Definition: power.hh:124
PowerFiniteElement< BackendFiniteElement, dimR > FiniteElement
Type of the finite element.
Definition: power.hh:109
const FiniteElement make(const BackendFiniteElement &backend) const
create a finite element
Definition: power.hh:116
PowerCoefficients Coefficients
type of the Coefficients
Definition: power.hh:35
GeometryType type() const
Extract geometry type of this finite element.
Definition: power.hh:92
types of component objects
Definition: power.hh:31
const Traits::Coefficients & coefficients() const
Extract coefficients of this finite element.
Definition: power.hh:82
Factory for meta-finite elements turning scalar finite elements into vector-valued ones...
Definition: power.hh:105
const Traits::Basis & basis() const
Extract basis of this finite element.
Definition: power.hh:76
PowerInterpolation< typename Backend::Traits::Interpolation, typename Basis::Traits > Interpolation
type of the Interpolation
Definition: power.hh:38
Meta-finite element turning a scalar finite element into vector-valued one.
Definition: power.hh:28
PowerBasis< typename Backend::Traits::Basis, dimR > Basis
type of the Basis
Definition: power.hh:33
PowerFiniteElement(const shared_ptr< const Backend > &backendSPtr)
Construct a finite element.
Definition: power.hh:64