DUNE-FEM (unstable)

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 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 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 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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 20, 23:30, 2024)