3#ifndef DUNE_ALU2DGRID_CAPABILITIES_HH
4#define DUNE_ALU2DGRID_CAPABILITIES_HH
9#include <dune/geometry/genericgeometry/topologytypes.hh>
11#include <dune/grid/alugrid/common/declaration.hh>
12#include <dune/grid/alugrid/2d/alu2dinclude.hh>
24 template<
int dim,
int dimworld >
27 template<
int dim,
int dimw >
30 template<
int dim,
int dimworld >
35 namespace Capabilities
45 template<
int dimworld >
46 struct hasSingleGeometryType< ALUSimplexGrid< 2, dimworld > >
48 static const bool v =
true;
49 static const unsigned int topologyId = GenericGeometry :: SimplexTopology< 2 > :: type :: id ;
56 template<
int dimworld,
int cdim >
57 struct hasEntity< ALUSimplexGrid< 2, dimworld >, cdim >
59 static const bool v =
true;
67 template<
int dimworld >
68 struct isParallel< ALUSimplexGrid< 2, dimworld > >
70 static const bool v =
true;
79 template<
int dimworld >
80 struct canCommunicate< ALUSimplexGrid< 2, dimworld >, 0 >
82 static const bool v =
true;
89 template<
int dimworld >
90 struct isLevelwiseConforming< ALUSimplexGrid< 2, dimworld > >
92 static const bool v =
true;
98 template<
int dimworld >
99 struct hasBackupRestoreFacilities< ALUSimplexGrid< 2, dimworld > >
101 static const bool v =
true;
113 struct hasSingleGeometryType< ALUCubeGrid< 2, wdim > >
115 static const bool v =
true;
116 static const unsigned int topologyId = GenericGeometry :: CubeTopology< 2 > :: type :: id ;
122 template<
int wdim,
int cdim >
123 struct hasEntity<
Dune::ALUCubeGrid< 2, wdim >, cdim >
125 static const bool v =
true;
128#if ALU2DGRID_PARALLEL
133 template<
int dimworld >
134 struct isParallel< ALUCubeGrid< 2, dimworld > >
136 static const bool v =
true;
140#if ALU2DGRID_PARALLEL
145 template<
int dimworld >
146 struct canCommunicate< ALUCubeGrid< 2, dimworld >, 0 >
148 static const bool v =
true;
156 struct isLevelwiseConforming<
Dune::ALUCubeGrid< 2, wdim > >
158 static const bool v =
true;
165 struct hasBackupRestoreFacilities<
Dune::ALUCubeGrid< 2, wdim > >
167 static const bool v =
true;
178 template<
int dimworld >
179 struct hasSingleGeometryType< ALUConformGrid< 2, dimworld > >
181 static const bool v =
true;
182 static const unsigned int topologyId = GenericGeometry :: SimplexTopology< 2 > :: type :: id ;
188 template<
int dimworld,
int cdim >
189 struct hasEntity< ALUConformGrid< 2, dimworld >, cdim >
191 static const bool v =
true;
194#if ALU2DGRID_PARALLEL
199 template<
int dimworld >
200 struct isParallel< ALUConformGrid< 2, dimworld > >
202 static const bool v =
true;
206#if ALU2DGRID_PARALLEL
211 template<
int dimworld >
212 struct canCommunicate< ALUConformGrid< 2, dimworld >, 0 >
214 static const bool v =
true;
221 template<
int dimworld >
222 struct isLeafwiseConforming< ALUConformGrid< 2, dimworld > >
224 static const bool v =
true;
230 template<
int dimworld >
231 struct hasBackupRestoreFacilities< ALUConformGrid< 2, dimworld > >
233 static const bool v =
true;
A set of traits classes to store static information about grid implementation.
Dune namespace.
Definition: alignment.hh:14