dune-fem  2.4.1-rc
selectcaching.hh
Go to the documentation of this file.
1 #ifndef DUNE_FEM_SPACE_SHAPEFUNCTIONSET_SELECTCACHING_HH
2 #define DUNE_FEM_SPACE_SHAPEFUNCTIONSET_SELECTCACHING_HH
3 
4 // dune-fem includes
6 
7 namespace Dune
8 {
9 
10  namespace Fem
11  {
12 
13  // External Forward Declarations
14  // -----------------------------
15 
16  template< class >
18 
19  template< class >
21 
22 
23 
24  // SelectCachingShapeFunctionSet
25  // -----------------------------
26 
27  template< class ShapeFunctionSet, template< class > class Storage >
29 
30  template< class ShapeFunctionSet >
32  : public CachingShapeFunctionSet< ShapeFunctionSet >
33  {
35 
36  public:
38 
39  explicit SelectCachingShapeFunctionSet ( const GeometryType &type,
40  const ShapeFunctionSet &shapeFunctionSet = ShapeFunctionSet() )
41  : BaseType( type, shapeFunctionSet )
42  {}
43  };
44 
45  template< class ShapeFunctionSet >
47  : public ShapeFunctionSet
48  {
49  typedef ShapeFunctionSet BaseType;
50 
51  public:
53 
54  explicit SelectCachingShapeFunctionSet ( const GeometryType &type,
55  const ShapeFunctionSet &shapeFunctionSet = ShapeFunctionSet() )
56  : BaseType( shapeFunctionSet )
57  {}
58  };
59 
60  } // namespace Fem
61 
62 } // namespace Dune
63 
64 #endif // #ifndef DUNE_FEM_SPACE_SHAPEFUNCTIONSET_SELECTCACHING_HH
Definition: selectcaching.hh:28
SelectCachingShapeFunctionSet(const GeometryType &type, const ShapeFunctionSet &shapeFunctionSet=ShapeFunctionSet())
Definition: selectcaching.hh:39
Definition: selectcaching.hh:17
SelectCachingShapeFunctionSet(const GeometryType &type, const ShapeFunctionSet &shapeFunctionSet=ShapeFunctionSet())
Definition: selectcaching.hh:54
ShapeFunctionSet ImplementationType
Definition: selectcaching.hh:37
Definition: caching.hh:26
Definition: shapefunctionset/shapefunctionset.hh:33
ShapeFunctionSet ImplementationType
Definition: selectcaching.hh:52
Definition: coordinate.hh:4
Definition: selectcaching.hh:20