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
Base::Grid Grid
Definition: utility/persistentcontainer.hh:24
Map::mapped_type Value
Definition: persistentcontainermap.hh:35
PersistentContainer(const typename Base::Grid &grid, int codim, const Value &value=Value())
Definition: utility/persistentcontainer.hh:41
G Grid
Definition: persistentcontainermap.hh:30
map-based implementation of the PersistentContainer
Definition: persistentcontainermap.hh:21
Include standard header files.
Definition: agrid.hh:59
A class for storing data during an adaptation cycle.
Definition: utility/persistentcontainer.hh:18
const Grid & grid() const
Definition: persistentcontainermap.hh:112
void swap(This &other)
Definition: persistentcontainermap.hh:95
Base::Value Value
Definition: utility/persistentcontainer.hh:39
const LocalIdSet & localIdSet() const
return const reference to the grids local id set
Definition: common/grid.hh:616
Base::Value Value
Definition: utility/persistentcontainer.hh:25