dune-localfunctions  2.2.1
Public Types | Public Member Functions | List of all members
Dune::PowerFiniteElementFactory< BackendFiniteElement, dimR > Class Template Reference

Factory for meta-finite elements turning scalar finite elements into vector-valued ones. More...

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

Inheritance diagram for Dune::PowerFiniteElementFactory< BackendFiniteElement, dimR >:

Public Types

typedef PowerFiniteElement
< BackendFiniteElement, dimR > 
FiniteElement
 Type of the finite element. More...
 

Public Member Functions

const FiniteElement make (const BackendFiniteElement &backend) const
 create a finite element More...
 
const FiniteElement make (const shared_ptr< const BackendFiniteElement > &backendSPtr) const
 create a finite element More...
 

Detailed Description

template<class BackendFiniteElement, std::size_t dimR>
class Dune::PowerFiniteElementFactory< BackendFiniteElement, dimR >

Factory for meta-finite elements turning scalar finite elements into vector-valued ones.

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

Member Typedef Documentation

template<class BackendFiniteElement , std::size_t dimR>
typedef PowerFiniteElement<BackendFiniteElement, dimR> Dune::PowerFiniteElementFactory< BackendFiniteElement, dimR >::FiniteElement

Type of the finite element.

Member Function Documentation

template<class BackendFiniteElement , std::size_t dimR>
const FiniteElement Dune::PowerFiniteElementFactory< BackendFiniteElement, dimR >::make ( const BackendFiniteElement &  backend) const
inline

create a finite element

Note
With this overload of make() the backend finite element is copied into the created object.
template<class BackendFiniteElement , std::size_t dimR>
const FiniteElement Dune::PowerFiniteElementFactory< BackendFiniteElement, dimR >::make ( const shared_ptr< const BackendFiniteElement > &  backendSPtr) const
inline

create a finite element

Note
With this overload of make() ownership of the backend finite element is determined by the shared_ptr.

The documentation for this class was generated from the following file: