DUNE-FEM (unstable)

capabilities.hh
1#ifndef DUNE_FEM_GRIDPART_CAPABILITIES_HH
2#define DUNE_FEM_GRIDPART_CAPABILITIES_HH
3
4
5namespace Dune
6{
7
8 namespace Fem
9 {
10
11 namespace GridPartCapabilities
12 {
16 template< class GridPartType >
17 struct hasGrid
18 {
19 static const bool v = true;
20 };
21
22
27 template< class GridPartType >
29 {
30 static const bool v = false;
31 static const unsigned int topologyId = ~0u;
32 };
33
34
38 template< class GridPartType >
40 {
41 static const bool v = false;
42 };
43
44
48 template< class GridPartType, int codim >
49 struct hasEntity
50 {
51 static const bool v = false;
52 };
53
54
58 template< class GridPartType, int codim >
60 {
61 static const bool v = false;
62 };
63
64
68 template< class GridPartType >
70 {
71 static const bool v = false;
72 };
73
74
75 /*
76 * forward
77 * GridPartCapabilities::Something< const GridPartType >
78 * to
79 * GridPartCapabilities::Something< GridPartType >
80 */
81
82 template< class GridPartType >
83 struct hasGrid< const GridPartType >
84 {
86 };
87
88
89 template< class GridPartType >
90 struct hasSingleGeometryType< const GridPartType >
91 {
93 static const unsigned int topologyId
95 };
96
97
98 template< class GridPartType >
99 struct isCartesian< const GridPartType >
100 {
102 };
103
104
105 template< class GridPartType, int codim >
106 struct hasEntity< const GridPartType, codim >
107 {
109 };
110
111
112 template< class GridPartType, int codim >
113 struct canCommunicate< const GridPartType, codim >
114 {
116 };
117
118
119 template< class GridPartType >
120 struct isConforming< const GridPartType >
121 {
123 };
124
125 } // namespace GridPartCapabilities
126
127 } // namespace Fem
128
129} // namespace Dune
130
131#endif // #ifndef DUNE_FEM_GRIDPART_CAPABILITIES_HH
Dune namespace.
Definition: alignedallocator.hh:13
specialize with 'true' for all codims that a grid can communicate data on (default=false)
Definition: capabilities.hh:60
specialize with 'true' for all codims that a grid implements entities for (default=false)
Definition: capabilities.hh:50
specialize with 'false' if grid part has no underlying dune grid (default=true)
Definition: capabilities.hh:18
specialize with 'true' for if the codimension 0 entity of the grid part has only one possible geometr...
Definition: capabilities.hh:29
specialize with 'true' if the grid part is cartesian (default=false)
Definition: capabilities.hh:40
specialize with 'true' if implementation guarantees conforming level grids. (default=false)
Definition: capabilities.hh:70
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Jul 27, 22:29, 2024)