Go to the documentation of this file.
3 #ifndef DUNE_GEOGRID_CAPABILITIES_HH
4 #define DUNE_GEOGRID_CAPABILITIES_HH
9 #include <dune/common/hybridutilities.hh>
10 #include <dune/common/std/utility.hh>
21 namespace Capabilities
27 template<
class HostGr
id,
class CoordFunction,
class Allocator >
35 template<
class HostGr
id,
class CoordFunction,
class Allocator,
int codim >
38 static const bool v =
true;
42 template<
class HostGr
id,
class CoordFunction,
class Allocator,
int codim >
45 static const bool v =
true;
49 template<
class HostGr
id,
class CoordFunction,
class Allocator,
int codim >
56 template<
class HostGr
id,
class CoordFunction,
class Allocator >
62 template<
class HostGr
id,
class CoordFunction,
class Allocator >
68 template<
class HostGr
id,
class CoordFunction,
class Allocator >
74 template<
class HostGr
id,
class CoordFunction,
class Allocator >
77 static const bool v =
false;
80 template<
class HostGr
id,
class CoordFunction,
class Allocator >
83 static const bool v =
false;
92 template<
class Gr
id,
int codim >
95 template<
class Gr
id,
int codim >
101 template<
class HostGr
id,
class CoordFunction,
class Allocator,
int codim >
112 template<
class Gr
id >
121 Hybrid::forEach( Std::make_index_sequence< dimension+1 >{},
134 assert( (codim >= 0) && (codim <= dimension) );
135 return instance().hasHostEntity_[ codim ];
143 #endif // #ifndef DUNE_GEOGRID_CAPABILITIES_HH
static const bool v
Definition: common/capabilities.hh:96
static const bool v
Definition: common/capabilities.hh:105
specialize with 'true' for all codims that a grid provides an iterator for (default=false)
Definition: common/capabilities.hh:71
Specialize with 'true' if implementation guarantees a conforming leaf grid. (default=false)
Definition: common/capabilities.hh:112
static const bool v
Definition: common/capabilities.hh:57
static const bool v
Definition: common/capabilities.hh:141
static const bool v
Definition: common/capabilities.hh:168
specialize with 'true' for all codims that a grid can communicate data on (default=false)
Definition: common/capabilities.hh:94
Specialize with 'true' for all codims that a grid implements entities for. (default=false)
Definition: common/capabilities.hh:55
Definition: geometrygrid/capabilities.hh:93
static const bool v
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
static const bool v
Definition: common/capabilities.hh:114
Definition: geometrygrid/capabilities.hh:113
Specialize with 'true' if the grid implementation is thread safe. (default=false)
Definition: common/capabilities.hh:140
static const bool v
Definition: common/capabilities.hh:73
grid wrapper replacing the geometries
Definition: declaration.hh:10
A set of traits classes to store static information about grid implementation.
Specialize with 'true' if implementation guarantees conforming level grids. (default=false)
Definition: common/capabilities.hh:103
@ dimension
The dimension of the grid.
Definition: common/grid.hh:387
Grid abstract base class.
Definition: common/grid.hh:373
Specialize with 'true' if the grid implementation is thread safe, while it is not modified....
Definition: common/capabilities.hh:167
static const bool v
Definition: common/capabilities.hh:26
Include standard header files.
Definition: agrid.hh:58
Specialize with 'true' if implementation provides backup and restore facilities. (default=false)
Definition: common/capabilities.hh:121
static const unsigned int topologyId
Definition: common/capabilities.hh:29
static bool hasHostEntity(int codim)
Definition: geometrygrid/capabilities.hh:132