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 ];
Include standard header files.
Definition: agrid.hh:60
Specialize with 'true' for if the codimension 0 entity of the grid has only one possible geometry typ...
Definition: common/capabilities.hh:27
static const bool v
Definition: common/capabilities.hh:28
static const unsigned int topologyId
Definition: common/capabilities.hh:31
Specialize with 'true' for all codims that a grid implements entities for. (default=false)
Definition: common/capabilities.hh:58
static const bool v
Definition: common/capabilities.hh:59
specialize with 'true' for all codims that a grid provides an iterator for (default=hasEntity<codim>:...
Definition: common/capabilities.hh:74
static const bool v
Definition: common/capabilities.hh:75
specialize with 'true' for all codims that a grid can communicate data on (default=false)
Definition: common/capabilities.hh:97
static const bool v
Definition: common/capabilities.hh:98
Specialize with 'true' if implementation guarantees conforming level grids. (default=false)
Definition: common/capabilities.hh:106
static const bool v
Definition: common/capabilities.hh:107
Specialize with 'true' if implementation guarantees a conforming leaf grid. (default=false)
Definition: common/capabilities.hh:115
static const bool v
Definition: common/capabilities.hh:116
Specialize with 'true' if implementation provides backup and restore facilities. (default=false)
Definition: common/capabilities.hh:124
static const bool v
Definition: common/capabilities.hh:125
Specialize with 'true' if the grid implementation is thread safe. (default=false)
Definition: common/capabilities.hh:142
static const bool v
Definition: common/capabilities.hh:143
Specialize with 'true' if the grid implementation is thread safe, while it is not modified....
Definition: common/capabilities.hh:169
static const bool v
Definition: common/capabilities.hh:170
Grid abstract base class.
Definition: common/grid.hh:375
static constexpr int dimension
The dimension of the grid.
Definition: common/grid.hh:387
Definition: geometrygrid/capabilities.hh:95
Definition: geometrygrid/capabilities.hh:116
static bool hasHostEntity(int codim)
Definition: geometrygrid/capabilities.hh:134
grid wrapper replacing the geometries
Definition: geometrygrid/grid.hh:86
A set of traits classes to store static information about grid implementation.