3 #ifndef DUNE_PERSISTENTCONTAINERWRAPPER_HH
4 #define DUNE_PERSISTENTCONTAINERWRAPPER_HH
15 template<
class G,
class T >
22 typedef typename HostGridAccess::HostGrid HostGrid;
38 template<
class Entity >
44 template<
class Entity >
50 template<
class Entity >
53 return hostContainer_( HostGridAccess::hostEntity( entity ), subEntity );
56 template<
class Entity >
59 return hostContainer_( HostGridAccess::hostEntity( entity ), subEntity );
83 typedef Value Data DUNE_DEPRECATED_MSG(
"Use Value instead.");
107 #endif // #ifndef DUNE_PERSISTENTCONTAINERWRAPPER_HH
Definition: persistentcontainerwrapper.hh:16
void fill(const Value &value=Value())
Definition: persistentcontainerwrapper.hh:67
const Value & operator[](const Entity &entity) const
Definition: persistentcontainerwrapper.hh:39
Wrapper class for entities.
Definition: common/entity.hh:56
PersistentContainer< HostGrid, T > hostContainer_
Definition: persistentcontainerwrapper.hh:102
Iterator begin()
Definition: persistentcontainerwrapper.hh:72
void swap(This &other)
Definition: persistentcontainermap.hh:95
void swap(This &other)
Definition: persistentcontainerwrapper.hh:69
PersistentContainer< HostGrid, T >::Iterator Iterator
Definition: persistentcontainerwrapper.hh:31
Value Data
Definition: persistentcontainerwrapper.hh:83
Size size() const
Definition: persistentcontainerwrapper.hh:62
ConstIterator end() const
Definition: persistentcontainerwrapper.hh:74
int codimension() const
Definition: persistentcontainermap.hh:109
void reserve()
Definition: persistentcontainerwrapper.hh:85
PersistentContainer< HostGrid, T >::ConstIterator ConstIterator
Definition: persistentcontainerwrapper.hh:32
PersistentContainerWrapper(const Grid &grid, int codim, const Value &value=Value())
Definition: persistentcontainerwrapper.hh:34
void resize(const Value &value=Value())
Definition: persistentcontainermap.hh:86
const Value & operator()(const Entity &entity, int subEntity) const
Definition: persistentcontainerwrapper.hh:51
ConstIterator end() const
Definition: persistentcontainermap.hh:227
void shrinkToFit()
Definition: persistentcontainerwrapper.hh:65
Size size() const
Definition: persistentcontainermap.hh:84
G Grid
Definition: persistentcontainerwrapper.hh:26
ConstIterator begin() const
Definition: persistentcontainermap.hh:212
void shrinkToFit()
Definition: persistentcontainermap.hh:91
ConstIterator begin() const
Definition: persistentcontainerwrapper.hh:71
Iterator end()
Definition: persistentcontainerwrapper.hh:75
int codimension() const
Definition: persistentcontainerwrapper.hh:77
void clear()
Definition: persistentcontainerwrapper.hh:88
provides access to host grid objects
Definition: hostgridaccess.hh:25
PersistentContainer< HostGrid, T >::Size Size
Definition: persistentcontainerwrapper.hh:29
void fill(const Value &value)
Definition: persistentcontainermap.hh:93
void resize(const Value &value=Value())
Definition: persistentcontainerwrapper.hh:64
grid wrapper replacing the geometriesGeometryGrid wraps another DUNE grid and replaces its geometry b...
Definition: geometrygrid/declaration.hh:10
PersistentContainer< HostGrid, T >::Value Value
Definition: persistentcontainerwrapper.hh:28
void update()
Definition: persistentcontainerwrapper.hh:95