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/entity.hh:66
provides access to host grid objects from GeometryGrid
Definition: identitygrid.hh:37
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
ConstIterator end() const
Definition: persistentcontainermap.hh:190
Size size() const
Definition: persistentcontainermap.hh:85
void shrinkToFit()
Definition: persistentcontainermap.hh:93
Definition: persistentcontainerwrapper.hh:19
void fill(const Value &value=Value())
Definition: persistentcontainerwrapper.hh:69
PersistentContainer< HostGrid, T >::ConstIterator ConstIterator
Definition: persistentcontainerwrapper.hh:34
Size size() const
Definition: persistentcontainerwrapper.hh:64
ConstIterator begin() const
Definition: persistentcontainerwrapper.hh:73
const Value & operator()(const Entity &entity, int subEntity) const
Definition: persistentcontainerwrapper.hh:53
G Grid
Definition: persistentcontainerwrapper.hh:28
const Value & operator[](const Entity &entity) const
Definition: persistentcontainerwrapper.hh:41
void resize(const Value &value=Value())
Definition: persistentcontainerwrapper.hh:66
PersistentContainer< HostGrid, T >::Size Size
Definition: persistentcontainerwrapper.hh:31
int codimension() const
Definition: persistentcontainerwrapper.hh:79
PersistentContainer< HostGrid, T >::Value Value
Definition: persistentcontainerwrapper.hh:30
void swap(This &other)
Definition: persistentcontainerwrapper.hh:71
ConstIterator end() const
Definition: persistentcontainerwrapper.hh:76
PersistentContainerWrapper(const Grid &grid, int codim, const Value &value=Value())
Definition: persistentcontainerwrapper.hh:36
PersistentContainer< HostGrid, T >::Iterator Iterator
Definition: persistentcontainerwrapper.hh:33
void shrinkToFit()
Definition: persistentcontainerwrapper.hh:67
Iterator begin()
Definition: persistentcontainerwrapper.hh:74
PersistentContainer< HostGrid, T > hostContainer_
Definition: persistentcontainerwrapper.hh:82
Iterator end()
Definition: persistentcontainerwrapper.hh:77