1#ifndef DUNE_FEM_GRIDPART_GEOGRIDPART_CAPABILITIES_HH
2#define DUNE_FEM_GRIDPART_GEOGRIDPART_CAPABILITIES_HH
5#include <dune/fem/gridpart/common/capabilities.hh>
21 namespace GridPartCapabilities
24 template<
class CoordFunction >
25 struct hasGrid< GeoGridPart< CoordFunction > >
29 static const bool v =
false;
33 template<
class CoordFunction >
34 class hasSingleGeometryType< GeoGridPart< CoordFunction > >
36 typedef typename CoordFunction::GridPartType HostGridPartType;
39 static const bool v = hasSingleGeometryType< HostGridPartType >::v;
40 static const unsigned int topologyId = hasSingleGeometryType< HostGridPartType >::topologyId;
44 template<
class CoordFunction >
45 struct isCartesian< GeoGridPart< CoordFunction > >
47 static const bool v =
false;
51 template<
class CoordFunction,
int codim >
52 struct hasEntity< GeoGridPart< CoordFunction >, codim >
56 static const bool v = ( codim == 0 || codim == CoordFunction::GridPartType :: dimension ) ?
57 hasEntity< typename CoordFunction::GridPartType, codim >::v :
false ;
61 template<
class CoordFunction,
int codim >
62 struct canCommunicate< GeoGridPart< CoordFunction >, codim >
64 static const bool v = canCommunicate< typename CoordFunction::GridPartType, codim >::v;
68 template<
class CoordFunction >
69 struct isConforming< GeoGridPart< CoordFunction > >
71 static const bool v = isConforming< typename CoordFunction::GridPartType >::v;
Dune namespace.
Definition: alignedallocator.hh:13