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 );
87 #endif // #ifndef DUNE_PERSISTENTCONTAINERWRAPPER_HH Iterator begin()
Definition: persistentcontainerwrapper.hh:74
void fill(const Value &value)
Definition: persistentcontainermap.hh:95
PersistentContainerWrapper(const Grid &grid, int codim, const Value &value=Value())
Definition: persistentcontainerwrapper.hh:36
const Value & operator[](const Entity &entity) const
Definition: persistentcontainerwrapper.hh:41
void resize(const Value &value=Value())
Definition: persistentcontainerwrapper.hh:66
void swap(This &other)
Definition: persistentcontainermap.hh:97
const Value & operator()(const Entity &entity, int subEntity) const
Definition: persistentcontainerwrapper.hh:53
void shrinkToFit()
Definition: persistentcontainerwrapper.hh:67
void resize(const Value &value=Value())
Definition: persistentcontainermap.hh:87
PersistentContainer< HostGrid, T >::Size Size
Definition: persistentcontainerwrapper.hh:31
G Grid
Definition: persistentcontainerwrapper.hh:28
Size size() const
Definition: persistentcontainermap.hh:85
PersistentContainer< HostGrid, T >::Iterator Iterator
Definition: persistentcontainerwrapper.hh:33
PersistentContainer< HostGrid, T >::Value Value
Definition: persistentcontainerwrapper.hh:30
int codimension() const
Definition: persistentcontainerwrapper.hh:79
ConstIterator begin() const
Definition: persistentcontainerwrapper.hh:73
void shrinkToFit()
Definition: persistentcontainermap.hh:93
void swap(This &other)
Definition: persistentcontainerwrapper.hh:71
Include standard header files.
Definition: agrid.hh:59
void fill(const Value &value=Value())
Definition: persistentcontainerwrapper.hh:69
grid wrapper replacing the geometriesGeometryGrid wraps another DUNE grid and replaces its geometry b...
Definition: declaration.hh:12
ConstIterator begin() const
Definition: persistentcontainermap.hh:175
provides access to host grid objects from GeometryGrid
Definition: identitygrid.hh:37
ConstIterator end() const
Definition: persistentcontainermap.hh:190
PersistentContainer< HostGrid, T > hostContainer_
Definition: persistentcontainerwrapper.hh:82
Wrapper class for entities.
Definition: common/entity.hh:65
Iterator end()
Definition: persistentcontainerwrapper.hh:77
PersistentContainer< HostGrid, T >::ConstIterator ConstIterator
Definition: persistentcontainerwrapper.hh:34
ConstIterator end() const
Definition: persistentcontainerwrapper.hh:76
int codimension() const
Definition: persistentcontainermap.hh:111
Definition: persistentcontainerwrapper.hh:18
Size size() const
Definition: persistentcontainerwrapper.hh:64