dune-grid  2.2.0
geometrygrid/persistentcontainer.hh
Go to the documentation of this file.
1 #ifndef DUNE_GEOGRID_PERSISTENTCONTAINER_HH
2 #define DUNE_GEOGRID_PERSISTENTCONTAINER_HH
3 
6 
7 namespace Dune
8 {
9 
10  // PersistentContainer for GeometryGrid
11  // ------------------------------------
12 
13  template< class HostGrid, class CoordFunction, class Data, class Allocator >
14  class PersistentContainer< GeometryGrid< HostGrid, CoordFunction, Allocator >, Data, Allocator >
15  : public PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator >, Data, Allocator >
16  {
18 
19  public:
20  typedef typename Base::Grid Grid;
21 
22  PersistentContainer ( const Grid &grid, const int codim, const Allocator &allocator = Allocator() )
23  : Base( grid, codim, allocator )
24  {}
25  };
26 
27 } // namespace Dune
28 
29 #endif // #ifndef DUNE_GEOGRID_PERSISTENTCONTAINER_HH