dune-fem 2.8.0
Loading...
Searching...
No Matches
gridpart/idgridpart/capabilities.hh
Go to the documentation of this file.
1#ifndef DUNE_FEM_GRIDPART_IDGRIDPART_CAPABILITIES_HH
2#define DUNE_FEM_GRIDPART_IDGRIDPART_CAPABILITIES_HH
3
4#include <dune/geometry/type.hh>
5
7
8namespace Dune
9{
10
11 namespace Fem
12 {
13
14 // Forward declaration
15 // -------------------
16
17 template< class >
18 class IdGridPart;
19
20
21
22 namespace GridPartCapabilities
23 {
24
25 template< class HostGridPartType >
26 struct hasGrid< IdGridPart< HostGridPartType > >
27 {
28 static const bool v = true;
29 };
30
31
32 template< class HostGridPartType >
33 struct hasSingleGeometryType< IdGridPart< HostGridPartType > >
34 {
37 };
38
39
40 template< class HostGridPartType >
41 struct isCartesian< IdGridPart< HostGridPartType > >
42 {
44 };
45
46
47 template< class HostGridPartType, int codim >
48 struct hasEntity< IdGridPart< HostGridPartType >, codim >
49 {
51 };
52
53
54 template< class HostGridPartType, int codim >
55 struct canCommunicate< IdGridPart< HostGridPartType >, codim >
56 {
58 };
59
60
61 template< class HostGridPartType >
62 struct isConforming< IdGridPart< HostGridPartType > >
63 {
65 };
66
67 } // namespace GridPartCapabilities
68
69 } // namespace Fem
70
71} // namespace Dune
72
73#endif // #ifndef DUNE_FEM_GRIDPART_IDGRIDPART_CAPABILITIES_HH
Definition: bindguard.hh:11
specialize with 'false' if grid part has no underlying dune grid (default=true)
Definition: gridpart/common/capabilities.hh:18
static const bool v
Definition: gridpart/common/capabilities.hh:19
specialize with 'true' for if the codimension 0 entity of the grid part has only one possible geometr...
Definition: gridpart/common/capabilities.hh:29
static const bool v
Definition: gridpart/common/capabilities.hh:30
static const unsigned int topologyId
Definition: gridpart/common/capabilities.hh:31
specialize with 'true' if the grid part is cartesian (default=false)
Definition: gridpart/common/capabilities.hh:40
static const bool v
Definition: gridpart/common/capabilities.hh:41
specialize with 'true' for all codims that a grid implements entities for (default=false)
Definition: gridpart/common/capabilities.hh:50
static const bool v
Definition: gridpart/common/capabilities.hh:51
specialize with 'true' for all codims that a grid can communicate data on (default=false)
Definition: gridpart/common/capabilities.hh:60
static const bool v
Definition: gridpart/common/capabilities.hh:61
specialize with 'true' if implementation guarantees conforming level grids. (default=false)
Definition: gridpart/common/capabilities.hh:70
static const bool v
Definition: gridpart/common/capabilities.hh:71
Definition: idgridpart.hh:136