dune-localfunctions 2.10
|
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 FiniteElementType & | get (GeometryType type) const |
Obtain the cached local finite-element. | |
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.
Domain | Type used for domain coordinates |
Range | Type used for shape function values |
dim | Element dimension |
The cached finite element implementations can be obtained using get(GeometryType).
using Dune::DynamicLagrangeLocalFiniteElementCache< Domain, Range, dim >::FiniteElementType = LagrangeLocalFiniteElement<EquidistantPointSet, dim, Domain, Range> |
|
inlineexplicit |
Construct an empty cache.
|
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.