3 #ifndef DUNE_ALUGRID_CAPABILITIES_HH
4 #define DUNE_ALUGRID_CAPABILITIES_HH
12 #include <dune/geometry/genericgeometry/topologytypes.hh>
22 namespace Capabilities
31 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm >
32 struct hasSingleGeometryType< ALUGrid< dim, dimworld, eltype, refinementtype, Comm > >
34 static const bool v =
true;
36 GenericGeometry :: CubeTopology< dim > :: type :: id :
37 GenericGeometry :: SimplexTopology< dim > :: type :: id ;
43 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm,
int cdim >
44 struct hasEntity< ALUGrid< dim, dimworld, eltype, refinementtype, Comm >, cdim >
46 static const bool v =
true;
52 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype >
53 struct isParallel< ALUGrid< dim, dimworld, eltype, refinementtype, No_Comm > >
55 static const bool v =
false;
61 #if ALU3DGRID_PARALLEL
62 template< ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype >
63 struct isParallel< ALUGrid< 3, 3, eltype, refinementtype, MPI_Comm > >
65 static const bool v =
true;
72 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
int codim >
73 struct canCommunicate< ALUGrid< dim, dimworld, eltype, refinementtype, No_Comm >, codim >
75 static const bool v =
false;
81 #if ALU3DGRID_PARALLEL
82 template< ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
int codim >
83 struct canCommunicate< ALUGrid< 3, 3, eltype, refinementtype, MPI_Comm >, codim >
85 static const bool v =
true;
92 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm >
93 struct isLevelwiseConforming< ALUGrid< dim, dimworld, eltype, refinementtype, Comm > >
101 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm >
102 struct isLeafwiseConforming< ALUGrid< dim, dimworld, eltype, refinementtype, Comm > >
104 static const bool v = refinementtype ==
conforming ;
110 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm >
111 struct hasBackupRestoreFacilities< ALUGrid< dim, dimworld, eltype, refinementtype, Comm > >
113 static const bool v =
true;
120 #endif // #if HAVE_ALUGRID
122 #endif // #ifdef DUNE_ALUGRID_CAPABILITIES_HH