Dune Core Modules (2.6.0)
persistentcontainerinterface.hh
Persistent storage of data on all entities of a grid.
Definition: persistentcontainerinterface.hh:53
PersistentContainerInterface(Grid &grid, int codim, const Value &value=Value())
constuctor
const Value & operator[](const Entity &entity) const
access the data associated with an entity
PersistentContainerInterface(const This &other)
copy constructor
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
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
Dummy struct used for documentation purposes.
Definition: documentation.hh:40
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 26, 23:30, 2024)