1 #ifndef DUNE_FEM_GRIDPART_LEAFGRIDPART_HH 2 #define DUNE_FEM_GRIDPART_LEAFGRIDPART_HH 4 #include <dune/grid/common/capabilities.hh> 18 template<
class Gr
id >
33 : BaseType( grid.leafGridView() ),
46 GridType &
grid () {
return grid_; }
59 namespace GridPartCapabilities
62 template<
class Gr
id >
65 static const bool v =
true;
68 template<
class Gr
id >
70 :
public Dune::Capabilities::hasSingleGeometryType< Grid >
73 template<
class Gr
id >
75 :
public Dune::Capabilities::isCartesian< Grid >
78 template<
class Gr
id,
int codim >
80 :
public Dune::Capabilities::hasEntity< Grid, codim >
83 template<
class Gr
id >
85 :
public Dune::Capabilities::isParallel< Grid >
88 template<
class Gr
id,
int codim >
90 :
public Dune::Capabilities::canCommunicate< Grid, codim >
93 template<
class Gr
id >
96 static const bool v = Dune::Capabilities::isLeafwiseConforming< Grid >::v;
105 #endif // #ifndef DUNE_FEM_GRIDPART_LEAFGRIDPART_HH
const GridType & grid() const
Returns const reference to the underlying grid.
Definition: gridview2gridpart.hh:144
BaseType::GridType GridType
type of Grid implementation
Definition: leafgridpart.hh:26
int level() const
Level of the grid part.
Definition: leafgridpart.hh:49
specialize with 'true' if implementation supports parallelism (default=false)
Definition: gridpart/common/capabilities.hh:59
specialize with 'true' for all codims that a grid implements entities for (default=false) ...
Definition: gridpart/common/capabilities.hh:49
LeafGridPart(GridType &grid)
Definition: leafgridpart.hh:32
specialize with 'true' if implementation guarantees conforming level grids. (default=false) ...
Definition: gridpart/common/capabilities.hh:79
specialize with 'false' if grid part has no underlying dune grid (default=true)
Definition: gridpart/common/capabilities.hh:17
specialize with 'true' for all codims that a grid can communicate data on (default=false) ...
Definition: gridpart/common/capabilities.hh:69
Definition: coordinate.hh:4
specialize with 'true' for if the codimension 0 entity of the grid part has only one possible geometr...
Definition: gridpart/common/capabilities.hh:28
Definition: leafgridpart.hh:19
specialize with 'true' if the grid part is cartesian (default=false)
Definition: gridpart/common/capabilities.hh:39
Traits::GridType GridType
type of Grid implementation
Definition: gridpart.hh:90
GridType & grid()
Returns const reference to the underlying grid.
Definition: leafgridpart.hh:46
Definition: gridview2gridpart.hh:25