Dune Core Modules (2.10.0)
persistentcontainerinterface.hh
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
Persistent storage of data on all entities of a grid.
Definition: persistentcontainerinterface.hh:55
PersistentContainerInterface(Grid &grid, int codim, const Value &value=Value())
constructor
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:42
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 28, 23:30, 2024)