5 #ifndef DUNE_PERSISTENTCONTAINER_HH 6 #define DUNE_PERSISTENTCONTAINER_HH 19 template<
class G,
class T >
21 :
public PersistentContainerMap< G, typename G::LocalIdSet, std::map< typename G::LocalIdSet::IdType, T > >
35 template<
class Gr
id,
class T >
55 #include <unordered_map> 60 template< G,
class T >
61 class PersistentContainer
62 :
public PersistentContainerMap< G, typename G::LocalIdSet, std::unordered_map< typename G::LocalIdSet::IdType, T > >
64 typedef PersistentContainerMap< G, typename G::LocalIdSet, std::unordered_map< typename G::LocalIdSet::IdType, T > > Base;
71 : Base(
grid, codim,
grid.localIdSet(), value )
82 template<
class G,
class T >
90 #endif // #ifndef DUNE_PERSISTENTCONTAINER_HH void swap(Dune::PersistentContainer< G, T > &a, Dune::PersistentContainer< G, T > &b)
Definition: utility/persistentcontainer.hh:83
PersistentContainer(const Grid &grid, int codim, const Value &value=Value())
Definition: utility/persistentcontainer.hh:29
void swap(This &other)
Definition: persistentcontainermap.hh:97
Base::Value Value
Definition: utility/persistentcontainer.hh:27
Include standard header files.
Definition: agrid.hh:59
G Grid
Definition: persistentcontainermap.hh:31
Map::mapped_type Value
Definition: persistentcontainermap.hh:36
const Grid & grid() const
Definition: persistentcontainermap.hh:114
PersistentContainer(const typename Base::Grid &grid, int codim, const Value &value=Value())
Definition: utility/persistentcontainer.hh:43
Base::Grid Grid
Definition: utility/persistentcontainer.hh:26
map-based implementation of the PersistentContainer
Definition: persistentcontainermap.hh:25
Base::Value Value
Definition: utility/persistentcontainer.hh:41
A class for storing data during an adaptation cycle.
Definition: utility/persistentcontainer.hh:20