dune-grid 2.8.0
Loading...
Searching...
No Matches
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
10namespace 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
Include standard header files.
Definition: agrid.hh:58
grid wrapper replacing the geometries
Definition: geometrygrid/grid.hh:84
Base::Value Value
Definition: geometrygrid/persistentcontainer.hh:24
Base::Grid Grid
Definition: geometrygrid/persistentcontainer.hh:23
PersistentContainer(const Grid &grid, int codim, const Value &value=Value())
Definition: geometrygrid/persistentcontainer.hh:26
A class for storing data during an adaptation cycle.
Definition: utility/persistentcontainer.hh:20
Base::Value Value
Definition: utility/persistentcontainer.hh:25
const Grid & grid() const
Definition: persistentcontainermap.hh:112
Definition: persistentcontainerwrapper.hh:17
PersistentContainer< HostGrid, T >::Value Value
Definition: persistentcontainerwrapper.hh:28