dune-localfunctions 2.11
Loading...
Searching...
No Matches
Dune::DynamicLagrangeLocalFiniteElementCache< Domain, Range, dim, SF, CF > Class Template Reference

A cache that stores Lagrange finite elements for the given dimension and order. More...

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

Public Types

using FiniteElementType = LagrangeLocalFiniteElement<EquidistantPointSet, dim, Domain, Range, SF, CF>

Public Member Functions

 DynamicLagrangeLocalFiniteElementCache (unsigned int order)
 Construct an empty cache.
const FiniteElementTypeget (GeometryType type) const
 Obtain the cached local finite-element.

Detailed Description

template<class Domain, class Range, int dim, class SF = Range, class CF = Range>
class Dune::DynamicLagrangeLocalFiniteElementCache< Domain, Range, dim, SF, CF >

A cache that stores Lagrange finite elements for the given dimension and order.

The cache is based on a runtime-order implementation of Lagrange shape functions subject to a given equidistance points-set. The order is given to the class in the constructor.

Template Parameters
DomainType used for domain coordinates
RangeType used for shape function values
dimElement dimension
SFstorage field for basis matrix [default=Range]
CFcompute field for basis matrix [default=Range]

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

Member Typedef Documentation

◆ FiniteElementType

template<class Domain, class Range, int dim, class SF = Range, class CF = Range>
using Dune::DynamicLagrangeLocalFiniteElementCache< Domain, Range, dim, SF, CF >::FiniteElementType = LagrangeLocalFiniteElement<EquidistantPointSet, dim, Domain, Range, SF, CF>

Constructor & Destructor Documentation

◆ DynamicLagrangeLocalFiniteElementCache()

template<class Domain, class Range, int dim, class SF = Range, class CF = Range>
Dune::DynamicLagrangeLocalFiniteElementCache< Domain, Range, dim, SF, CF >::DynamicLagrangeLocalFiniteElementCache ( unsigned int order)
inlineexplicit

Construct an empty cache.

Member Function Documentation

◆ get()

template<class Domain, class Range, int dim, class SF = Range, class CF = Range>
const FiniteElementType & Dune::DynamicLagrangeLocalFiniteElementCache< Domain, Range, dim, SF, CF >::get ( GeometryType type) const
inline

Obtain the cached local finite-element.

This function might first construct the local finite-element to the polynomial order specified in the constructor of the cache, if it is not yet cached.


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