dune-localfunctions 2.10
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::StaticLagrangeLocalFiniteElementCache< GeometryType::Id(~0u), Domain, Range, dim, order > Class Template Reference

A cache that stores all available Pk/Qk like local finite elements for the given dimension and order. More...

#include <dune/localfunctions/lagrange/cache.hh>

Inheritance diagram for Dune::StaticLagrangeLocalFiniteElementCache< GeometryType::Id(~0u), Domain, Range, dim, order >:
Inheritance graph

Public Types

using FiniteElementType = typename GenerateLFEVariant< Implementations >::type
 Type of exported LocalFiniteElement's.
 

Public Member Functions

template<class... Key>
const auto & get (const Key &... key) const
 Get the LocalFiniteElement for the given key data.
 

Detailed Description

template<class Domain, class Range, std::size_t dim, std::size_t order>
class Dune::StaticLagrangeLocalFiniteElementCache< GeometryType::Id(~0u), Domain, Range, dim, order >

A cache that stores all available Pk/Qk like local finite elements for the given dimension and order.

Template Parameters
DomainType used for domain coordinates
RangeType used for shape function values
dimElement dimension
orderElement order

The cached finite element implementations can be obtained using get(GeometryType).

Note
This is a specialization of the fixed-geometry type LFE cache for the ID GeometryType::Id(~0u). This is given by the default topologyId in the capability Dune::Capabilities::hasSingleGeometryType that can be extracted from grids with support for mixed geometry types.

Member Typedef Documentation

◆ FiniteElementType

template<class Base >
using Dune::LocalFiniteElementVariantCache< Base >::FiniteElementType = typename GenerateLFEVariant<Implementations>::type
inherited

Type of exported LocalFiniteElement's.

This is a LocalFiniteElementVariant<Implementation...> with Implementations... being the list of all provided implementations.

Member Function Documentation

◆ get()

template<class Base >
template<class... Key>
const auto & Dune::LocalFiniteElementVariantCache< Base >::get ( const Key &...  key) const
inlineinherited

Get the LocalFiniteElement for the given key data.

Exceptions
Dune::RangeErrorIf the cache doesn't hold a value matching the requested type.

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