dune-grid  2.4.1
geometrygrid/persistentcontainer.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 sts=2:
3 #ifndef DUNE_GEOGRID_PERSISTENTCONTAINER_HH
4 #define DUNE_GEOGRID_PERSISTENTCONTAINER_HH
5 
9 
10 namespace Dune
11 {
12 
13  // PersistentContainer for GeometryGrid
14  // ------------------------------------
15 
16  template< class HostGrid, class CoordFunction, class Allocator, class T >
17  class PersistentContainer< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >
18  : public PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >
19  {
21 
22  public:
23  typedef typename Base::Grid Grid;
24  typedef typename Base::Value Value;
25 
26  PersistentContainer ( const Grid &grid, int codim, const Value &value = Value() )
27  : Base( grid, codim, value )
28  {}
29  };
30 
31 } // namespace Dune
32 
33 #endif // #ifndef DUNE_GEOGRID_PERSISTENTCONTAINER_HH
Base::Value Value
Definition: utility/persistentcontainer.hh:25
PersistentContainer< HostGrid, T >::Value Value
Definition: persistentcontainerwrapper.hh:28
Base::Value Value
Definition: geometrygrid/persistentcontainer.hh:24
grid wrapper replacing the geometriesGeometryGrid wraps another DUNE grid and replaces its geometry b...
Definition: geometrygrid/declaration.hh:10
A class for storing data during an adaptation cycle.
Definition: utility/persistentcontainer.hh:18
Definition: persistentcontainerwrapper.hh:16
PersistentContainer(const Grid &grid, int codim, const Value &value=Value())
Definition: geometrygrid/persistentcontainer.hh:26
Base::Grid Grid
Definition: geometrygrid/persistentcontainer.hh:23
const Grid & grid() const
Definition: persistentcontainermap.hh:112
Include standard header files.
Definition: agrid.hh:59