dune-localfunctions 2.10
|
A cache that stores all available Pk/Qk like local finite elements for the given dimension and order for the case that the GeometryType is fixed and has the given Id. More...
#include <dune/localfunctions/lagrange/cache.hh>
Public Types | |
using | FiniteElementType = std::conditional_t< isSimplex, LagrangeSimplexLocalFiniteElement< Domain, Range, dim, order >, std::conditional_t< isCube, LagrangeCubeLocalFiniteElement< Domain, Range, dim, order >, std::conditional_t< isPrism, LagrangePrismLocalFiniteElement< Domain, Range, order >, std::conditional_t< isPyramid, LagrangePyramidLocalFiniteElement< Domain, Range, order >, UnknownToplogy > > > > |
Public Member Functions | |
StaticLagrangeLocalFiniteElementCache (std::integral_constant< std::size_t, order >={}) | |
Construct the local-finite element for the order specified as template parameter. | |
const FiniteElementType & | get (GeometryType type) const |
Obtain the cached local finite-element. | |
A cache that stores all available Pk/Qk like local finite elements for the given dimension and order for the case that the GeometryType is fixed and has the given Id.
id | The Id of the fixed GeometryType |
Domain | Type used for domain coordinates |
Range | Type used for shape function values |
dim | Element dimension |
order | Element order |
The cached finite element implementations can be obtained using get(GeometryType).
using Dune::StaticLagrangeLocalFiniteElementCache< id, Domain, Range, dim, order >::FiniteElementType = std::conditional_t<isSimplex, LagrangeSimplexLocalFiniteElement<Domain,Range,dim,order>, std::conditional_t<isCube, LagrangeCubeLocalFiniteElement<Domain,Range,dim,order>, std::conditional_t<isPrism, LagrangePrismLocalFiniteElement<Domain,Range,order>, std::conditional_t<isPyramid, LagrangePyramidLocalFiniteElement<Domain,Range,order>, UnknownToplogy> > > > |
|
inlineexplicit |
Construct the local-finite element for the order specified as template parameter.
|
inline |
Obtain the cached local finite-element.