DUNE-FEM (unstable)

Dune::PowerFiniteElement< Backend, dimR > Class Template Reference

Meta-finite element turning a scalar finite element into vector-valued one. More...

#include <dune/localfunctions/meta/power.hh>

Classes

struct  Traits
 types of component objects More...
 

Public Member Functions

 PowerFiniteElement (const Backend &backend_)
 Construct a finite element. More...
 
 PowerFiniteElement (const std::shared_ptr< const Backend > &backendSPtr)
 Construct a finite element. More...
 
const Traits::Basisbasis () const
 Extract basis of this finite element. More...
 
const Traits::Coefficientscoefficients () const
 Extract coefficients of this finite element. More...
 
const Traits::Interpolationinterpolation () const
 Extract interpolation of this finite element. More...
 
GeometryType type () const
 Extract geometry type of this finite element.
 

Detailed Description

template<class Backend, std::size_t dimR>
class Dune::PowerFiniteElement< Backend, dimR >

Meta-finite element turning a scalar finite element into vector-valued one.

Template Parameters
BackendType of finite element to take the power of.
dimRPower to raise the finite element to.

Constructor & Destructor Documentation

◆ PowerFiniteElement() [1/2]

template<class Backend , std::size_t dimR>
Dune::PowerFiniteElement< Backend, dimR >::PowerFiniteElement ( const Backend &  backend_)
inline

Construct a finite element.

Note
With this constructor a copy of the backend finite element is stored in this object.

◆ PowerFiniteElement() [2/2]

template<class Backend , std::size_t dimR>
Dune::PowerFiniteElement< Backend, dimR >::PowerFiniteElement ( const std::shared_ptr< const Backend > &  backendSPtr)
inline

Construct a finite element.

Note
With this constructor ownership of the backend finite element is determined by the shared_ptr.

Member Function Documentation

◆ basis()

template<class Backend , std::size_t dimR>
const Traits::Basis & Dune::PowerFiniteElement< Backend, dimR >::basis ( ) const
inline

Extract basis of this finite element.

The returned lvalue must have a lifetime at least as long as the finite element object it was acquired from.

◆ coefficients()

template<class Backend , std::size_t dimR>
const Traits::Coefficients & Dune::PowerFiniteElement< Backend, dimR >::coefficients ( ) const
inline

Extract coefficients of this finite element.

The returned lvalue must have a lifetime at least as long as the finite element object it was acquired from.

◆ interpolation()

template<class Backend , std::size_t dimR>
const Traits::Interpolation & Dune::PowerFiniteElement< Backend, dimR >::interpolation ( ) const
inline

Extract interpolation of this finite element.

The returned lvalue must have a lifetime at least as long as the finite element object it was acquired from.


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