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 )
39 #include <unordered_map>
44 template< G,
class T >
45 class PersistentContainer
46 :
public PersistentContainerMap< G, typename G::LocalIdSet, std::unordered_map< typename G::LocalIdSet::IdType, T > >
48 typedef PersistentContainerMap< G, typename G::LocalIdSet, std::unordered_map< typename G::LocalIdSet::IdType, T > > Base;
55 : Base( grid, codim, grid.localIdSet(), value )
66 template<
class G,
class T >
74 #endif // #ifndef DUNE_PERSISTENTCONTAINER_HH
PersistentContainer(const Grid &grid, int codim, const Value &value=Value())
Definition: utility/persistentcontainer.hh:27
map-based implementation of the PersistentContainer
Definition: persistentcontainermap.hh:21
void swap(This &other)
Definition: persistentcontainermap.hh:95
A class for storing data during an adaptation cycle.
Definition: utility/persistentcontainer.hh:18
const Grid & grid() const
Definition: persistentcontainermap.hh:134
Base::Value Value
Definition: utility/persistentcontainer.hh:25
G Grid
Definition: persistentcontainermap.hh:30
Base::Grid Grid
Definition: utility/persistentcontainer.hh:24
Map::mapped_type Value
Definition: persistentcontainermap.hh:35