1#ifndef DUNE_FEM_GRIDPART_GEOMETRYGRIDPART_CAPABILITIES_HH
2#define DUNE_FEM_GRIDPART_GEOMETRYGRIDPART_CAPABILITIES_HH
6#include <dune/fem/gridpart/common/capabilities.hh>
18 class GeometryGridPart;
22 namespace GridPartCapabilities
25 template<
class Gr
idFunctionType >
26 struct hasGrid< GeometryGridPart< GridFunctionType > >
28 static const bool v =
true;
32 template<
class Gr
idFunctionType >
33 struct hasSingleGeometryType< GeometryGridPart< GridFunctionType > >
35 typedef typename GridFunctionType::GridPartType HostGridPartType;
36 static const bool v = hasSingleGeometryType< HostGridPartType >::v;
37 static const unsigned int topologyId = hasSingleGeometryType< HostGridPartType >::topologyId;
41 template<
class Gr
idFunctionType >
42 struct isCartesian< GeometryGridPart< GridFunctionType > >
44 typedef typename GridFunctionType::GridPartType HostGridPartType;
45 static const bool v = isCartesian< HostGridPartType >::v;
56 template<
class Gr
idFunctionType,
int codim >
57 struct hasEntity< GeometryGridPart< GridFunctionType >, codim >
59 typedef typename GridFunctionType::GridPartType HostGridPartType;
60 static const bool v =
false;
64 template<
class Gr
idFunctionType,
int codim >
65 struct canCommunicate< GeometryGridPart< GridFunctionType >, codim >
67 typedef typename GridFunctionType::GridPartType HostGridPartType;
68 static const bool v = canCommunicate< HostGridPartType, codim >::v;
72 template<
class Gr
idFunctionType >
73 struct isConforming< GeometryGridPart< GridFunctionType > >
75 typedef typename GridFunctionType::GridPartType HostGridPartType;
76 static const bool v = isConforming< HostGridPartType >::v;
Various macros to work with Dune module version numbers.
Dune namespace.
Definition: alignedallocator.hh:13