dune-fem  2.4.1-rc
space/lagrange/capabilities.hh
Go to the documentation of this file.
1 #ifndef DUNE_FEM_SPACE_LAGRANGE_CAPABILITIES_HH
2 #define DUNE_FEM_SPACE_LAGRANGE_CAPABILITIES_HH
3 
7 
8 namespace Dune
9 {
10 
11  namespace Fem
12  {
13 
14  namespace Capabilities
15  {
16 
17  template< class FunctionSpace, class GridPart, int polOrder, template< class > class Storage >
18  struct hasFixedPolynomialOrder< LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, polOrder, Storage > >
19  {
20  static const bool v = true;
21  };
22 
23 
24  template< class FunctionSpace, class GridPart, int polOrder, template< class > class Storage >
25  struct hasStaticPolynomialOrder< LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, polOrder, Storage > >
26  {
27  static const bool v = true;
28  static const int order = polOrder;
29  };
30 
31 
32  template< class FunctionSpace, class GridPart, int polOrder, template< class > class Storage >
33  struct isContinuous< LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, polOrder, Storage > >
34  {
36  };
37 
38 
39  template< class FunctionSpace, class GridPart, int polOrder, template< class > class Storage >
40  struct isLocalized< LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, polOrder, Storage > >
41  {
42  static const bool v = true;
43  };
44 
45 
46  template< class FunctionSpace, class GridPart, int polOrder, template< class > class Storage >
47  struct isParallel< LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, polOrder, Storage > >
48  {
50  };
51 
52 
53  template< class FunctionSpace, class GridPart, int polOrder, template< class > class Storage >
54  struct isAdaptive< LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, polOrder, Storage > >
55  {
56  static const bool v = true;
57  };
58 
59 
60  template< class FunctionSpace, class GridPart, int polOrder, template< class > class Storage >
61  struct threadSafe< LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, polOrder, Storage > >
62  {
63  static const bool v = false;
64  };
65 
66 
67  template< class FunctionSpace, class GridPart, int polOrder, template< class > class Storage >
68  struct viewThreadSafe< LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, polOrder, Storage > >
69  {
70  static const bool v = true;
71  };
72 
73  } // namespace Capabilities
74 
75  } // namespace Fem
76 
77 } // namespace Dune
78 
79 #endif // #ifndef DUNE_FEM_SPACE_LAGRANGE_CAPABILITIES_HH
Lagrange discrete function space.
Definition: cornerstorage.hh:23
specialize with true if the space is localized, * i.e., the basis function set is based on a shape fu...
Definition: space/common/capabilities.hh:64
A vector valued function space.
Definition: functionspace.hh:16
specialize with &#39;true&#39; if implementation supports parallelism (default=false)
Definition: gridpart/common/capabilities.hh:59
specialize with &#39;true&#39; if implementation guarantees conforming level grids. (default=false) ...
Definition: gridpart/common/capabilities.hh:79
specialize with true if space is always continuous
Definition: space/common/capabilities.hh:46
specialize with true if space can be used with AdaptiveDiscreteFunction
Definition: space/common/capabilities.hh:89
Definition: coordinate.hh:4
specialize with true if space can be used in parallel
Definition: space/common/capabilities.hh:76
static const bool v
Definition: space/common/capabilities.hh:22
specialize with true if polynomial order does not depend on the grid (part) entity ...
Definition: space/common/capabilities.hh:20
specialize with true if the space implementation is thread safe
Definition: space/common/capabilities.hh:102
specialize with true if polynomial order fixed and compile time static
Definition: space/common/capabilities.hh:33
specialize with true if the space implementation is thread safe, while it is not modified ...
Definition: space/common/capabilities.hh:116