5#ifndef DUNE_PERSISTENTCONTAINERINTERFACE_HH
6#define DUNE_PERSISTENTCONTAINERINTERFACE_HH
9#error "This header exists for documentation purposes only and should never be included directly."
53 template<
class G,
class T >
58 struct ImplementationDefined;
65 typedef ImplementationDefined
Size;
93 template<
class Entity >
100 template<
class Entity >
108 template<
class Entity >
116 template<
class Entity >
Include standard header files.
Definition: agrid.hh:60
Wrapper class for entities.
Definition: common/entity.hh:66
Persistent storage of data on all entities of a grid.
Definition: persistentcontainerinterface.hh:55
ImplementationDefined Size
Definition: persistentcontainerinterface.hh:65
PersistentContainerInterface(Grid &grid, int codim, const Value &value=Value())
constuctor
const Value & operator[](const Entity &entity) const
access the data associated with an entity
T Value
Definition: persistentcontainerinterface.hh:63
Size size() const
number of entries in the container
ImplementationDefined Iterator
Definition: persistentcontainerinterface.hh:67
PersistentContainerInterface(const This &other)
copy constructor
ImplementationDefined ConstIterator
Definition: persistentcontainerinterface.hh:66
ConstIterator end() const
returns an iterator pointing to the last element of the container
ConstIterator begin() const
returns an iterator pointing to the first element of the container
Iterator begin()
returns an iterator pointing to the first element of the container
Iterator end()
returns an iterator pointing to the last element of the container
void shrinkToFit()
remove unnecessary entries from container
int codimension() const
return the codimension, the container attaches data to
G Grid
Definition: persistentcontainerinterface.hh:61
void swap(This &other)
exchange the content of the container with another one
void resize(const Value &value=Value())
reserve memory for all entities in the grid
void fill(const Value &value)
set all accessible entries to a given value
const Value & operator()(const Entity &entity, int subEntity) const
access the data associated with a subentity
const This & operator=(const This &other)
assignment operator