1#ifndef DUNE_SPGRID_CAPABILITIES_HH
2#define DUNE_SPGRID_CAPABILITIES_HH
8#include <dune/geometry/type.hh>
10#include <dune/grid/common/capabilities.hh>
28 namespace Capabilities
35 template<
class ct,
int dim,
template<
int >
class Ref,
class Comm >
36 struct hasSingleGeometryType<
SPGrid< ct, dim, Ref, Comm > >
40 static const bool v =
true;
42 static const unsigned int topologyId = GeometryTypes::cube(dim).id();
58 template<
class ct,
int dim,
template<
int >
class Ref,
class Comm >
59 struct isCartesian<
SPGrid< ct, dim, Ref, Comm > >
62 static const bool v =
true;
70 template<
class ct,
int dim,
template<
int >
class Ref,
class Comm,
int codim >
71 struct hasEntity<
SPGrid< ct, dim, Ref, Comm >, codim >
75 static const bool v = ((codim >= 0) && (codim <= dim));
83 template<
class ct,
int dim,
template<
int >
class Ref,
class Comm,
int codim >
84 struct hasEntityIterator<
SPGrid< ct, dim, Ref, Comm >, codim >
85 :
public hasEntity< SPGrid< ct, dim, Ref, Comm >, codim >
98 template<
class ct,
int dim,
template<
int >
class Ref,
int codim >
99 struct canCommunicate<
SPGrid< ct, dim, Ref, MPI_Comm >, codim >
103 static const bool v = ((codim >= 0) && (codim <= dim));
111 template<
class ct,
int dim,
template<
int >
class Ref,
class Comm >
112 struct isLevelwiseConforming<
SPGrid< ct, dim, Ref, Comm > >
115 static const bool v =
true;
122 template<
class ct,
int dim,
template<
int >
class Ref,
class Comm >
123 struct isLeafwiseConforming<
SPGrid< ct, dim, Ref, Comm > >
126 static const bool v =
true;
133 template<
class ct,
int dim,
template<
int >
class Ref,
class Comm >
134 struct hasBackupRestoreFacilities<
SPGrid< ct, dim, Ref, Comm > >
137 static const bool v =
true;
144 template<
class ct,
int dim,
template<
int >
class Ref,
class Comm >
145 struct threadSafe<
SPGrid< ct, dim, Ref, Comm > >
148 static const bool v =
false;
155 template<
class ct,
int dim,
template<
int >
class Ref,
class Comm >
156 struct viewThreadSafe<
SPGrid< ct, dim, Ref, Comm > >
159 static const bool v =
false;
167 template<
class Gr
id >
170 template<
class ct,
int dim,
template<
int >
class Ref,
class Comm >
173 static const bool v =
true;
177 template<
class Gr
id >
186 template<
class ct,
int dim,
template<
int >
class Ref,
class Comm >
190 static const bool v =
true;
208 template<
class ct,
int dim,
template<
int >
class Ref,
class Comm,
int codim >
213 static const bool v = ((codim >= 0) && (codim <= dim));
Definition: iostream.hh:7
Does a grid support superentity iterators of a codimension?
Definition: extensions/superentityiterator.hh:82
static const bool v
by default, a grid does not support superentity iterators
Definition: extensions/superentityiterator.hh:84
Definition: capabilities.hh:168
Definition: capabilities.hh:178
structured, parallel DUNE grid
Definition: grid.hh:136
interface classes for superentity iterators