dune-localfunctions 2.10
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::DynamicLagrangeLocalFiniteElementCache< Domain, Range, dim > 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 >
 

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 Dune::DynamicLagrangeLocalFiniteElementCache< Domain, Range, dim >

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

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

Member Typedef Documentation

◆ FiniteElementType

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

Constructor & Destructor Documentation

◆ DynamicLagrangeLocalFiniteElementCache()

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

Construct an empty cache.

Member Function Documentation

◆ get()

template<class Domain , class Range , int dim>
const FiniteElementType & Dune::DynamicLagrangeLocalFiniteElementCache< Domain, Range, dim >::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: