DUNE PDELab (git)

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>

Public Types

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

Public Member Functions

const FiniteElement make (const BackendFiniteElement &backend) const
 create a finite element More...
 
const FiniteElement make (const std::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 Function Documentation

◆ make() [1/2]

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.

Referenced by Dune::PDELab::PowerFiniteElementMap< BackendFEM, dimR >::find().

◆ make() [2/2]

template<class BackendFiniteElement , std::size_t dimR>
const FiniteElement Dune::PowerFiniteElementFactory< BackendFiniteElement, dimR >::make ( const std::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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)