DUNE PDELab (git)

Dune::PDELab::PowerFiniteElementMap< BackendFEM, dimR > Class Template Reference

FiniteElementMap for PowerFiniteElements. More...

#include <dune/pdelab/finiteelementmap/powerfem.hh>

Public Types

typedef FiniteElementMapTraits< typename Factory::FiniteElementTraits
 export Traits
 

Public Member Functions

 PowerFiniteElementMap (const BackendFEM &backend_)
 construct PowerFiniteElementMap More...
 
template<class Element >
Traits::FiniteElementType find (const Element &e) const
 Return finite element for the given entity. More...
 

Static Public Attributes

static constexpr int dimension = BackendFEM::dimension
 The dimension of the finite elements returned by this map.
 

Detailed Description

template<class BackendFEM, std::size_t dimR>
class Dune::PDELab::PowerFiniteElementMap< BackendFEM, dimR >

FiniteElementMap for PowerFiniteElements.

Template Parameters
BackendFEMMap for finite elements that should be raised to a power.
dimRPower to raise the backend FiniteElements to.

Constructor & Destructor Documentation

◆ PowerFiniteElementMap()

template<class BackendFEM , std::size_t dimR>
Dune::PDELab::PowerFiniteElementMap< BackendFEM, dimR >::PowerFiniteElementMap ( const BackendFEM &  backend_)
inline

construct PowerFiniteElementMap

Parameters
backend_Reference to a finite element map for the underlying finite elements.
Note
The constructed finite element map object stores a reference to to backend object. The finite element map object becomes invalid as soon the reference to the backend becomes invalid. The only allowed operation on an invalid finite element map is calling the destructor, all other operations result in undefined behaviour.

Member Function Documentation

◆ find()

template<class BackendFEM , std::size_t dimR>
template<class Element >
Traits::FiniteElementType Dune::PDELab::PowerFiniteElementMap< BackendFEM, dimR >::find ( const Element &  e) const
inline

Return finite element for the given entity.

Parameters
eGrid element to create a finite element for.

The returned value is valid for as long as both this finite element map as well as the reference to the grid element are valid.

References Dune::PowerFiniteElementFactory< BackendFiniteElement, dimR >::make().


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 (Jul 15, 22:36, 2024)