1#ifndef DUNE_FEM_GRID_GRIDPARTADAPTER_HH
2#define DUNE_FEM_GRID_GRIDPARTADAPTER_HH
6#include <dune/fem/gridpart/common/gridview2gridpart.hh>
17 template<
class Gr
idView >
19 :
public Fem::GridView2GridPart< GridView, GridPartAdapter< GridView >, false >
21 typedef GridPartAdapter< GridView > This;
22 typedef Fem::GridView2GridPart< GridView, GridPartAdapter< GridView >,
false > Base;
25 typedef GridView GridViewType;
26 typedef typename Base::GridType GridType;
28 explicit GridPartAdapter (
const GridView &gridView ) : Base( gridView ) {}
32 namespace GridPartCapabilities
35 template<
class Gr
idView >
36 struct hasGrid< GridPartAdapter< GridView > >
38 static const bool v =
true;
41 template<
class Gr
idView >
42 struct hasSingleGeometryType< GridPartAdapter< GridView > >
46 template<
class Gr
idView >
47 struct isCartesian< GridPartAdapter< GridView > >
51 template<
class Gr
idView,
int codim >
52 struct hasEntity< GridPartAdapter< GridView >, codim >
56 template<
class Gr
idView,
int codim >
57 struct canCommunicate< GridPartAdapter< GridView >, codim >
61 template<
class Gr
idView >
62 struct isConforming< GridPartAdapter< GridView > >
A few common exception classes.
static constexpr bool conforming
Export if this grid view is guaranteed conforming.
Definition: gridview.hh:128
Dune namespace.
Definition: alignedallocator.hh:13
specialize with 'true' for all codims that a grid can communicate data on (default=false)
Definition: capabilities.hh:97
Specialize with 'true' for all codims that a grid implements entities for. (default=false)
Definition: capabilities.hh:58
Specialize with 'true' for if the codimension 0 entity of the grid has only one possible geometry typ...
Definition: capabilities.hh:27
Specialize with 'true' if the grid is a Cartesian grid. Cartesian grids satisfy the following propert...
Definition: capabilities.hh:48