3 #ifndef DUNE_PERSISTENTCONTAINER_HH 4 #define DUNE_PERSISTENTCONTAINER_HH 17 template<
class G,
class T >
19 :
public PersistentContainerMap< G, typename G::LocalIdSet, std::map< typename G::LocalIdSet::IdType, T > >
28 : Base( grid, codim, grid.localIdSet(), value )
33 template<
class Gr
id,
class T >
42 : Base(grid, codim, value)
53 #include <unordered_map> 58 template< G,
class T >
60 :
public PersistentContainerMap< G, typename G::LocalIdSet, std::unordered_map< typename G::LocalIdSet::IdType, T > >
69 : Base( grid, codim, grid.localIdSet(), value )
80 template<
class G,
class T >
88 #endif // #ifndef DUNE_PERSISTENTCONTAINER_HH PersistentContainer(const Grid &grid, int codim, const Value &value=Value())
Definition: utility/persistentcontainer.hh:27
Map::mapped_type Value
Definition: persistentcontainermap.hh:33
map-based implementation of the PersistentContainer
Definition: persistentcontainermap.hh:22
G Grid
Definition: persistentcontainermap.hh:28
Base::Value Value
Definition: utility/persistentcontainer.hh:25
Base::Value Value
Definition: utility/persistentcontainer.hh:39
PersistentContainer(const typename Base::Grid &grid, int codim, const Value &value=Value())
Definition: utility/persistentcontainer.hh:41
A class for storing data during an adaptation cycle.
Definition: utility/persistentcontainer.hh:18
const Grid & grid() const
Definition: persistentcontainermap.hh:111
void swap(This &other)
Definition: persistentcontainermap.hh:94
Base::Grid Grid
Definition: utility/persistentcontainer.hh:24
Include standard header files.
Definition: agrid.hh:58