Dune Core Modules (unstable)

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 Member Functions

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

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 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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Aug 31, 22:39, 2025)