1#ifndef DUNE_FEM_CAPABILITIES_HH
2#define DUNE_FEM_CAPABILITIES_HH
6#include <dune/grid/common/capabilities.hh>
9#include <dune/fem/misc/metaprogramming.hh>
17 namespace Capabilities
23 template<
class Gr
id >
24 struct hasHierarchicIndexSet;
26 template<
class Gr
id >
29 static const bool v =
false;
32 template<
class Gr
id >
35 static const bool v =
false;
39 template<
int dim,
int dimw, ALUGr
idElementType elType, ALUGr
idRefinementType refineType,
class Comm >
40 struct hasHierarchicIndexSet< ALUGrid<
dim, dimw, elType, refineType, Comm > >
42 static const bool v =
true;
46#if HAVE_DUNE_P4ESTGRID
47 template<
int dim,
int dimworld, P4estType elType,
class ctype >
48 struct hasHierarchicIndexSet< P4estGrid<
dim, dimworld, elType, ctype > >
50 static const bool v =
true;
57 static const bool v =
false;
63 static const bool v =
false;
66 template<
int dim,
class CoordCont >
69 static const bool v =
false;
73 template<
class HostGr
id,
class CoordFunction,
class Allocator >
77 static const bool v = false ;
89 namespace Capabilities
95 template<
class Gr
id >
98 template<
unsigned int codim >
104 static const bool v = Loop< MetaAnd, Codim, Grid :: dimension >
:: v;
112 template<
class Gr
id >
115 static const bool v =
false;
118 template<
class Gr
id >
125 template<
int dim,
int dimworld, ALUGr
idElementType elType, ALUGr
idRefinementType refineType,
class Comm >
128 static const bool v =
true;
132#if HAVE_DUNE_P4ESTGRID
133 template<
int dim,
int dimworld, P4estType elType,
class ctype >
134 struct supportsCallbackAdaptation< P4estGrid<
dim, dimworld, elType, ctype > >
136 static const bool v =
true;
140 template<
int dim,
int dimworld >
143 static const bool v =
true;
146 template<
class HostGr
id,
class CoordFunction,
class Allocator >
152#if HAVE_DUNE_METAGRID
153 template<
class HostGr
id >
165 template<
class Gr
id >
168 static const bool v =
false;
171 template<
class Gr
id >
178 template<
int dim,
int dimworld, ALUGr
idElementType elType, ALUGr
idRefinementType refineType,
class Comm >
181 static const bool v =
true;
185#if HAVE_DUNE_P4ESTGRID
186 template<
int dim,
int dimworld, P4estType elType,
class ctype >
187 struct isLocallyAdaptive< P4estGrid<
dim, dimworld, elType, ctype > >
189 static const bool v =
true;
193 template<
int dim,
int dimworld >
196 static const bool v =
true;
202 static const bool v =
true;
208 static const bool v =
true;
211 template<
class HostGr
id,
class CoordFunction,
class Allocator >
217#if HAVE_DUNE_METAGRID
218 template<
class HostGr
id >
230 template<
class Gr
id >
233 static const bool v =
false;
Definition misc/capabilities.hh:97
static const bool v
Definition misc/capabilities.hh:104
static const bool value
Definition misc/capabilities.hh:105
Definition misc/capabilities.hh:114
static const bool v
Definition misc/capabilities.hh:115
Definition misc/capabilities.hh:167
static const bool v
Definition misc/capabilities.hh:168
Definition misc/capabilities.hh:232
static const bool v
Definition misc/capabilities.hh:233