5#ifndef DUNE_PERSISTENTCONTAINERWRAPPER_HH
6#define DUNE_PERSISTENTCONTAINERWRAPPER_HH
17 template<
class G,
class T >
24 typedef typename HostGridAccess::HostGrid HostGrid;
40 template<
class Entity >
46 template<
class Entity >
52 template<
class Entity >
55 return hostContainer_( HostGridAccess::hostEntity( entity ), subEntity );
58 template<
class Entity >
61 return hostContainer_( HostGridAccess::hostEntity( entity ), subEntity );
Include standard header files.
Definition agrid.hh:60
Wrapper class for entities.
Definition common/grid.hh:343
provides access to host grid objects from GeometryGrid
Definition hostgridaccess.hh:29
Base::Value Value
Definition utility/persistentcontainer.hh:27
void swap(This &other)
Definition persistentcontainermap.hh:97
void fill(const Value &value)
Definition persistentcontainermap.hh:95
int codimension() const
Definition persistentcontainermap.hh:111
void resize(const Value &value=Value())
Definition persistentcontainermap.hh:87
ConstIterator begin() const
Definition persistentcontainermap.hh:175
IteratorWrapper< const Value, typename std::map< G::LocalIdSet::IdType, T >::const_iterator > ConstIterator
Definition persistentcontainermap.hh:39
ConstIterator end() const
Definition persistentcontainermap.hh:190
std::map< G::LocalIdSet::IdType, T >::size_type Size
Definition persistentcontainermap.hh:37
Size size() const
Definition persistentcontainermap.hh:85
IteratorWrapper< Value, typename std::map< G::LocalIdSet::IdType, T >::iterator > Iterator
Definition persistentcontainermap.hh:40
void shrinkToFit()
Definition persistentcontainermap.hh:93
Definition persistentcontainerwrapper.hh:19
void fill(const Value &value=Value())
Definition persistentcontainerwrapper.hh:69
Size size() const
Definition persistentcontainerwrapper.hh:64
G Grid
Definition persistentcontainerwrapper.hh:28
ConstIterator begin() const
Definition persistentcontainerwrapper.hh:73
PersistentContainer< HostGrid, T >::ConstIterator ConstIterator
Definition persistentcontainerwrapper.hh:34
const Value & operator()(const Entity &entity, int subEntity) const
Definition persistentcontainerwrapper.hh:53
const Value & operator[](const Entity &entity) const
Definition persistentcontainerwrapper.hh:41
void resize(const Value &value=Value())
Definition persistentcontainerwrapper.hh:66
int codimension() const
Definition persistentcontainerwrapper.hh:79
void swap(This &other)
Definition persistentcontainerwrapper.hh:71
PersistentContainer< HostGrid, T >::Size Size
Definition persistentcontainerwrapper.hh:31
ConstIterator end() const
Definition persistentcontainerwrapper.hh:76
PersistentContainerWrapper(const Grid &grid, int codim, const Value &value=Value())
Definition persistentcontainerwrapper.hh:36
void shrinkToFit()
Definition persistentcontainerwrapper.hh:67
Iterator begin()
Definition persistentcontainerwrapper.hh:74
PersistentContainer< HostGrid, T >::Iterator Iterator
Definition persistentcontainerwrapper.hh:33
PersistentContainer< HostGrid, T > hostContainer_
Definition persistentcontainerwrapper.hh:82
PersistentContainer< HostGrid, T >::Value Value
Definition persistentcontainerwrapper.hh:30
Iterator end()
Definition persistentcontainerwrapper.hh:77