3 #ifndef DUNE_ALUGRID_CAPABILITIES_HH
4 #define DUNE_ALUGRID_CAPABILITIES_HH
9 #include <dune/common/deprecated.hh>
14 #include <dune/geometry/genericgeometry/topologytypes.hh>
24 namespace Capabilities
33 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm >
34 struct hasSingleGeometryType< ALUGrid< dim, dimworld, eltype, refinementtype, Comm > >
36 static const bool v =
true;
38 GenericGeometry :: CubeTopology< dim > :: type :: id :
39 GenericGeometry :: SimplexTopology< dim > :: type :: id ;
45 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm,
int cdim >
46 struct hasEntity< ALUGrid< dim, dimworld, eltype, refinementtype, Comm >, cdim >
48 static const bool v =
true;
54 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype >
55 struct DUNE_DEPRECATED_MSG("Capabilities::isParallel will be removed after dune-grid-2.4.") isParallel< ALUGrid< dim, dimworld, eltype, refinementtype, No_Comm > >
57 static const bool DUNE_DEPRECATED_MSG(
"Capabilities::isParallel will be removed after dune-grid-2.4.") v = false;
63 #if ALU3DGRID_PARALLEL
64 template< ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype >
65 struct DUNE_DEPRECATED_MSG("Capabilities::isParallel will be removed after dune-grid-2.4.") isParallel< ALUGrid< 3, 3, eltype, refinementtype, MPI_Comm > >
67 static const bool DUNE_DEPRECATED_MSG(
"Capabilities::isParallel will be removed after dune-grid-2.4.") v = true;
74 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
int codim >
75 struct canCommunicate< ALUGrid< dim, dimworld, eltype, refinementtype, No_Comm >, codim >
77 static const bool v =
false;
83 #if ALU3DGRID_PARALLEL
84 template< ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
int codim >
85 struct canCommunicate< ALUGrid< 3, 3, eltype, refinementtype, MPI_Comm >, codim >
87 static const bool v =
true;
94 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm >
95 struct isLevelwiseConforming< ALUGrid< dim, dimworld, eltype, refinementtype, Comm > >
103 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm >
104 struct isLeafwiseConforming< ALUGrid< dim, dimworld, eltype, refinementtype, Comm > >
106 static const bool v = refinementtype ==
conforming ;
112 template<
int dim,
int dimworld, ALUGr
idElementType eltype, ALUGr
idRefinementType refinementtype,
class Comm >
113 struct hasBackupRestoreFacilities< ALUGrid< dim, dimworld, eltype, refinementtype, Comm > >
115 static const bool v =
true;
122 #endif // #if HAVE_ALUGRID
124 #endif // #ifdef DUNE_ALUGRID_CAPABILITIES_HH
Include standard header files.
Definition: agrid.hh:59
Definition: alugrid/common/declaration.hh:18
Definition: alugrid/common/declaration.hh:20
Definition: alugrid/common/declaration.hh:20
static const bool v
Definition: common/capabilities.hh:28
static const unsigned int topologyId
Definition: common/capabilities.hh:31
static const bool v
Definition: common/capabilities.hh:59
A set of traits classes to store static information about grid implementation.