dune-localfunctions
2.7.0
|
Go to the documentation of this file.
4 #ifndef DUNE_LOCALFUNCTIONS_META_POWER_HH
5 #define DUNE_LOCALFUNCTIONS_META_POWER_HH
10 #include <dune/geometry/type.hh>
26 template<
class Backend, std::
size_t dimR>
40 std::shared_ptr<const Backend> backend;
52 backend(new Backend(backend_)),
53 basis_(backend->
basis()),
65 basis_(backend->
basis()),
82 {
return coefficients_; }
89 {
return interpolation_; }
91 GeometryType
type()
const {
return backend->type(); }
103 template<
class BackendFiniteElement, std::
size_t dimR>
123 make(
const std::shared_ptr<const BackendFiniteElement> &backendSPtr)
const
130 #endif // DUNE_LOCALFUNCTIONS_META_POWER_HH
Meta-interpolation turning a scalar interpolation into vector-valued interpolation.
Definition: meta/power/interpolation.hh:25
PowerCoefficients Coefficients
type of the Coefficients
Definition: power.hh:34
GeometryType type() const
Extract geometry type of this finite element.
Definition: power.hh:91
const FiniteElement make(const std::shared_ptr< const BackendFiniteElement > &backendSPtr) const
create a finite element
Definition: power.hh:123
PowerInterpolation< typename Backend::Traits::Interpolation, typename Basis::Traits > Interpolation
type of the Interpolation
Definition: power.hh:37
Definition: bdfmcube.hh:15
const Traits::Coefficients & coefficients() const
Extract coefficients of this finite element.
Definition: power.hh:81
const Traits::Interpolation & interpolation() const
Extract interpolation of this finite element.
Definition: power.hh:88
const Traits::Basis & basis() const
Extract basis of this finite element.
Definition: power.hh:75
PowerFiniteElement< BackendFiniteElement, dimR > FiniteElement
Type of the finite element.
Definition: power.hh:108
Factory for meta-finite elements turning scalar finite elements into vector-valued ones.
Definition: power.hh:104
PowerBasis< typename Backend::Traits::Basis, dimR > Basis
type of the Basis
Definition: power.hh:32
Meta-coefficients turning a scalar coefficients into vector-valued coefficients.
Definition: meta/power/coefficients.hh:20
types of component objects
Definition: power.hh:30
PowerFiniteElement(const std::shared_ptr< const Backend > &backendSPtr)
Construct a finite element.
Definition: power.hh:63
PowerFiniteElement(const Backend &backend_)
Construct a finite element.
Definition: power.hh:51
const FiniteElement make(const BackendFiniteElement &backend) const
create a finite element
Definition: power.hh:115
Meta-finite element turning a scalar finite element into vector-valued one.
Definition: power.hh:27