5 #ifndef DUNE_GEOGRID_CAPABILITIES_HH 6 #define DUNE_GEOGRID_CAPABILITIES_HH 12 #include <dune/common/hybridutilities.hh> 23 namespace Capabilities
29 template<
class HostGr
id,
class CoordFunction,
class Allocator >
37 template<
class HostGr
id,
class CoordFunction,
class Allocator,
int codim >
40 static const bool v =
true;
44 template<
class HostGr
id,
class CoordFunction,
class Allocator,
int codim >
51 template<
class HostGr
id,
class CoordFunction,
class Allocator,
int codim >
58 template<
class HostGr
id,
class CoordFunction,
class Allocator >
64 template<
class HostGr
id,
class CoordFunction,
class Allocator >
70 template<
class HostGr
id,
class CoordFunction,
class Allocator >
76 template<
class HostGr
id,
class CoordFunction,
class Allocator >
79 static const bool v =
false;
82 template<
class HostGr
id,
class CoordFunction,
class Allocator >
85 static const bool v =
false;
94 template<
class Gr
id,
int codim >
97 template<
class Gr
id,
int codim >
103 template<
class HostGr
id,
class CoordFunction,
class Allocator,
int codim >
114 template<
class Gr
id >
123 Hybrid::forEach( std::make_index_sequence< dimension+1 >{},
136 assert( (codim >= 0) && (codim <= dimension) );
137 return instance().hasHostEntity_[ codim ];
145 #endif // #ifndef DUNE_GEOGRID_CAPABILITIES_HH static bool hasHostEntity(int codim)
Definition: geometrygrid/capabilities.hh:134
static const bool v
Definition: common/capabilities.hh:98
Specialize with 'true' for if the codimension 0 entity of the grid has only one possible geometry typ...
Definition: common/capabilities.hh:26
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:375
static const bool v
Definition: common/capabilities.hh:116
static const bool v
Definition: common/capabilities.hh:125
Specialize with 'true' for all codims that a grid implements entities for. (default=false) ...
Definition: common/capabilities.hh:57
Specialize with 'true' if implementation guarantees a conforming leaf grid. (default=false) ...
Definition: common/capabilities.hh:114
Include standard header files.
Definition: agrid.hh:59
static const bool v
Definition: common/capabilities.hh:75
Specialize with 'true' if the grid implementation is thread safe. (default=false) ...
Definition: common/capabilities.hh:142
grid wrapper replacing the geometriesGeometryGrid wraps another DUNE grid and replaces its geometry b...
Definition: declaration.hh:12
Specialize with 'true' if implementation guarantees conforming level grids. (default=false) ...
Definition: common/capabilities.hh:105
static const bool v
Definition: common/capabilities.hh:107
static const bool v
Definition: common/capabilities.hh:28
specialize with 'true' for all codims that a grid provides an iterator for (default=hasEntity<codim>:...
Definition: common/capabilities.hh:73
static constexpr int dimension
The dimension of the grid.
Definition: common/grid.hh:387
static const bool v
Definition: common/capabilities.hh:59
static const unsigned int topologyId
Definition: common/capabilities.hh:31
static const bool v
Definition: common/capabilities.hh:170
Specialize with 'true' if implementation provides backup and restore facilities. (default=false) ...
Definition: common/capabilities.hh:123
specialize with 'true' for all codims that a grid can communicate data on (default=false) ...
Definition: common/capabilities.hh:96
A set of traits classes to store static information about grid implementation.
Definition: geometrygrid/capabilities.hh:115
Specialize with 'true' if the grid implementation is thread safe, while it is not modified...
Definition: common/capabilities.hh:169
Definition: geometrygrid/capabilities.hh:95
static const bool v
Definition: common/capabilities.hh:143