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,
int codim >
47 template<
class HostGr
id,
class CoordFunction,
class Allocator >
53 template<
class HostGr
id,
class CoordFunction,
class Allocator >
59 template<
class HostGr
id,
class CoordFunction,
class Allocator >
65 template<
class HostGr
id,
class CoordFunction,
class Allocator >
68 static const bool v =
false;
71 template<
class HostGr
id,
class CoordFunction,
class Allocator >
74 static const bool v =
false;
83 template<
class Gr
id,
int codim >
86 template<
class Gr
id,
int codim >
92 template<
class HostGr
id,
class CoordFunction,
class Allocator,
int codim >
103 template<
class Gr
id >
108 template<
int codim >
115 Dune::ForLoop< BuildCache, 0, dimension >::apply( hasHostEntity_ );
127 assert( (codim >= 0) && (codim <= dimension) );
128 return instance().hasHostEntity_[ codim ];
132 template<
class Gr
id >
133 template<
int codim >
134 struct CodimCache<
Grid >::BuildCache
136 static void apply (
bool (&hasHostEntity)[ dimension + 1 ] )
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:25
static const bool v
Definition common/capabilities.hh:26
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:56
static const bool v
Definition common/capabilities.hh:57
specialize with 'true' for all codims that a grid can communicate data on (default=false)
Definition common/capabilities.hh:69
static const bool v
Definition common/capabilities.hh:70
Specialize with 'true' if implementation guarantees conforming level grids. (default=false)
Definition common/capabilities.hh:78
static const bool v
Definition common/capabilities.hh:79
Specialize with 'true' if implementation guarantees a conforming leaf grid. (default=false)
Definition common/capabilities.hh:87
static const bool v
Definition common/capabilities.hh:88
Specialize with 'true' if implementation provides backup and restore facilities. (default=false)
Definition common/capabilities.hh:96
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:114
static const bool v
Definition common/capabilities.hh:115
Specialize with 'true' if the grid implementation is thread safe, while it is not modified....
Definition common/capabilities.hh:141
static const bool v
Definition common/capabilities.hh:142
Grid abstract base class.
Definition common/grid.hh:373
@ dimension
The dimension of the grid.
Definition common/grid.hh:387
Definition geometrygrid/capabilities.hh:84
Definition geometrygrid/capabilities.hh:105
static bool hasHostEntity(int codim)
Definition geometrygrid/capabilities.hh:125
grid wrapper replacing the geometries
Definition geometrygrid/grid.hh:82
A set of traits classes to store static information about grid implementation.