3 #ifndef DUNE_GEOGRID_CAPABILITIES_HH
4 #define DUNE_GEOGRID_CAPABILITIES_HH
8 #include <dune/common/forloop.hh>
19 namespace Capabilities
25 template<
class HostGr
id,
class CoordFunction,
class Allocator >
33 template<
class HostGr
id,
class CoordFunction,
class Allocator,
int codim >
36 static const bool v =
true;
40 template<
class HostGr
id,
class CoordFunction,
class Allocator >
47 template<
class HostGr
id,
class CoordFunction,
class Allocator,
int codim >
54 template<
class HostGr
id,
class CoordFunction,
class Allocator >
60 template<
class HostGr
id,
class CoordFunction,
class Allocator >
66 template<
class HostGr
id,
class CoordFunction,
class Allocator >
72 template<
class HostGr
id,
class CoordFunction,
class Allocator >
75 static const bool v =
false;
78 template<
class HostGr
id,
class CoordFunction,
class Allocator >
81 static const bool v =
false;
90 template<
class Gr
id,
int codim >
93 template<
class Gr
id,
int codim >
99 template<
class HostGr
id,
class CoordFunction,
class Allocator,
int codim >
110 template<
class Gr
id >
115 template<
int codim >
122 Dune::ForLoop< BuildCache, 0, dimension >::apply( hasHostEntity_ );
134 assert( (codim >= 0) && (codim <= dimension) );
135 return instance().hasHostEntity_[ codim ];
139 template<
class Gr
id >
140 template<
int codim >
141 struct CodimCache<
Grid >::BuildCache
153 #endif // #ifndef DUNE_GEOGRID_CAPABILITIES_HH
static const bool v
Definition: common/capabilities.hh:57
static const bool v
Definition: common/capabilities.hh:79
static const bool v
Definition: common/capabilities.hh:66
Specialize with 'true' if implementation guarantees conforming level grids. (default=false) ...
Definition: common/capabilities.hh:86
The dimension of the grid.
Definition: common/grid.hh:400
static bool hasHostEntity(int codim)
Definition: geometrygrid/capabilities.hh:132
Specialize with 'true' if implementation guarantees a conforming leaf grid. (default=false) ...
Definition: common/capabilities.hh:95
Grid abstract base classThis class is the base class for all grid implementations. Although no virtual functions are used we call it abstract since its methods do not contain an implementation but forward to the methods of the derived class via the Barton-Nackman trick.
Definition: common/grid.hh:386
static const bool v
Definition: common/capabilities.hh:124
A set of traits classes to store static information about grid implementation.
Specialize with 'true' if implementation supports parallelism. (default=false)
Definition: common/capabilities.hh:64
static const bool v
Definition: common/capabilities.hh:26
static const bool v
Definition: common/capabilities.hh:151
static const bool v
Definition: common/capabilities.hh:88
static const unsigned int topologyId
Definition: common/capabilities.hh:29
Specialize with 'true' for all codims that a grid implements entities for. (default=false) ...
Definition: common/capabilities.hh:55
static const bool v
Definition: common/capabilities.hh:106
Definition: geometrygrid/capabilities.hh:91
static const bool v
Definition: common/capabilities.hh:97
Specialize with 'true' if the grid implementation is thread safe. (default=false) ...
Definition: common/capabilities.hh:123
Specialize with 'true' for if the codimension 0 entity of the grid has only one possible geometry typ...
Definition: common/capabilities.hh:24
Specialize with 'true' if implementation provides backup and restore facilities. (default=false) ...
Definition: common/capabilities.hh:104
Definition: geometrygrid/capabilities.hh:111
grid wrapper replacing the geometriesGeometryGrid wraps another DUNE grid and replaces its geometry b...
Definition: geometrygrid/declaration.hh:10
Specialize with 'true' if the grid implementation is thread safe, while it is not modified...
Definition: common/capabilities.hh:150
specialize with 'true' for all codims that a grid can communicate data on (default=false) ...
Definition: common/capabilities.hh:77