1 #ifndef DUNE_ALU2DGRID_CAPABILITIES_HH
2 #define DUNE_ALU2DGRID_CAPABILITIES_HH
7 #include <dune/geometry/genericgeometry/topologytypes.hh>
22 template<
int dim,
int dimworld >
25 template<
int dim,
int dimw >
28 template<
int dim,
int dimworld >
33 namespace Capabilities
43 template<
int dimworld >
46 static const bool v =
true;
47 static const unsigned int topologyId = GenericGeometry :: SimplexTopology< 2 > :: type :: id ;
54 template<
int dimworld,
int cdim >
55 struct hasEntity< ALUSimplexGrid< 2, dimworld >, cdim >
57 static const bool v =
true;
60 #if ALU2DGRID_PARALLEL
65 template<
int dimworld >
66 struct isParallel< ALUSimplexGrid< 2, dimworld > >
68 static const bool v =
true;
70 #endif // #if ALU2DGRID_PARALLEL
72 #if ALU2DGRID_PARALLEL
77 template<
int dimworld >
78 struct canCommunicate< ALUSimplexGrid< 2, dimworld >, 0 >
80 static const bool v =
true;
82 #endif // #if ALU2DGRID_PARALLEL
87 template<
int dimworld >
90 static const bool v =
true;
96 template<
int dimworld >
99 static const bool v =
true;
113 static const bool v =
true;
114 static const unsigned int topologyId = GenericGeometry :: CubeTopology< 2 > :: type :: id ;
120 template<
int wdim,
int cdim >
123 static const bool v =
true;
126 #if ALU2DGRID_PARALLEL
131 template<
int dimworld >
132 struct isParallel< ALUCubeGrid< 2, dimworld > >
134 static const bool v =
true;
136 #endif // #if ALU2DGRID_PARALLEL
138 #if ALU2DGRID_PARALLEL
143 template<
int dimworld >
144 struct canCommunicate< ALUCubeGrid< 2, dimworld >, 0 >
146 static const bool v =
true;
148 #endif // #if ALU2DGRID_PARALLEL
156 static const bool v =
true;
165 static const bool v =
true;
176 template<
int dimworld >
179 static const bool v =
true;
180 static const unsigned int topologyId = GenericGeometry :: SimplexTopology< 2 > :: type :: id ;
186 template<
int dimworld,
int cdim >
189 static const bool v =
true;
192 #if ALU2DGRID_PARALLEL
197 template<
int dimworld >
200 static const bool v =
true;
202 #endif // #if ALU2DGRID_PARALLEL
204 #if ALU2DGRID_PARALLEL
209 template<
int dimworld >
212 static const bool v =
true;
214 #endif // #if ALU2DGRID_PARALLEL
219 template<
int dimworld >
222 static const bool v =
true;
228 template<
int dimworld >
231 static const bool v =
true;
238 #endif // #ifdef ENABLE_ALUGRID
240 #endif // #ifndef DUNE_ALU2DGRID_CAPABILITIES_HH