1#ifndef DUNE_FEM_SPACE_SHAPEFUNCTIONSET_SELECTCACHING_HH
2#define DUNE_FEM_SPACE_SHAPEFUNCTIONSET_SELECTCACHING_HH
5#include <dune/fem/space/shapefunctionset/caching.hh>
16 class CachingStorage {};
18 class SimpleStorage {};
20 class CodegenStorage {};
25 template<
class ShapeFunctionSet,
class Storage >
26 class SelectCachingShapeFunctionSet;
28 template<
class ShapeFunctionSet >
29 class SelectCachingShapeFunctionSet< ShapeFunctionSet, CachingStorage >
30 :
public CachingShapeFunctionSet< ShapeFunctionSet >
32 typedef CachingShapeFunctionSet< ShapeFunctionSet > BaseType;
35 typedef ShapeFunctionSet ImplementationType;
37 explicit SelectCachingShapeFunctionSet (
const GeometryType &type,
38 const ShapeFunctionSet &shapeFunctionSet = ShapeFunctionSet() )
39 : BaseType( type, shapeFunctionSet )
43 template<
class ShapeFunctionSet >
44 class SelectCachingShapeFunctionSet< ShapeFunctionSet, SimpleStorage >
45 :
public ShapeFunctionSet
47 typedef ShapeFunctionSet BaseType;
50 typedef ShapeFunctionSet ImplementationType;
52 explicit SelectCachingShapeFunctionSet (
const GeometryType &type,
53 const ShapeFunctionSet &shapeFunctionSet = ShapeFunctionSet() )
54 : BaseType( shapeFunctionSet )
58 template<
class ShapeFunctionSet >
59 class SelectCachingShapeFunctionSet< ShapeFunctionSet, CodegenStorage >
60 :
public CachingShapeFunctionSet< ShapeFunctionSet >
62 typedef CachingShapeFunctionSet< ShapeFunctionSet > BaseType;
65 typedef ShapeFunctionSet ImplementationType;
68 static constexpr bool codegenShapeFunctionSet = true ;
70 explicit SelectCachingShapeFunctionSet (
const GeometryType &type,
71 const ShapeFunctionSet &shapeFunctionSet = ShapeFunctionSet() )
72 : BaseType( type, shapeFunctionSet )
Dune namespace.
Definition: alignedallocator.hh:13