dune-localfunctions 2.10
Loading...
Searching...
No Matches
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

Public Member Functions

 StaticLagrangeLocalFiniteElementCache (std::integral_constant< std::size_t, order >={})
 Construct the local-finite element for the order specified as template parameter.
const FiniteElementTypeget (GeometryType type) const
 Obtain the cached local finite-element.

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

using Dune::StaticLagrangeLocalFiniteElementCache< id, Domain, Range, dim, order >::FiniteElementType

Constructor & Destructor Documentation

◆ StaticLagrangeLocalFiniteElementCache()

Dune::StaticLagrangeLocalFiniteElementCache< id, Domain, Range, dim, order >::StaticLagrangeLocalFiniteElementCache ( std::integral_constant< std::size_t, order > = {})
inlineexplicit

Construct the local-finite element for the order specified as template parameter.

Member Function Documentation

◆ get()

const FiniteElementType & Dune::StaticLagrangeLocalFiniteElementCache< id, Domain, Range, dim, order >::get ( GeometryType type) const
inline

Obtain the cached local finite-element.


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