|
dune-grid 2.11
|
Loading...
Searching...
No Matches
persistentcontainervector.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
std::ptrdiff_t index() const
virtual void operator()()=0
Include standard header files.
static constexpr int codimension
Know your own codimension.
Definition common/entity.hh:106
auto size(GeometryType type) const
Return total number of entities of given geometry type in entity set .
Definition common/indexidset.hh:223
IndexType subIndex(const typename Traits::template Codim< cc >::Entity &e, int i, unsigned int codim) const
Map a subentity to an index.
Definition common/indexidset.hh:153
IndexType index(const typename Traits::template Codim< cc >::Entity &e) const
Map entity to index. The result of calling this method with an entity that is not in the index set is...
Definition common/indexidset.hh:113
vector-based implementation of the PersistentContainer
Definition persistentcontainervector.hh:51
PersistentContainerVector(const IndexSet &indexSet, int codim, const Value &value, const Allocator &allocator=Allocator())
Definition persistentcontainervector.hh:64
Vector::size_type Size
Definition persistentcontainervector.hh:58
Vector::value_type Value
Definition persistentcontainervector.hh:57
Vector::allocator_type Allocator
Definition persistentcontainervector.hh:62
void fill(const Value &value)
Definition persistentcontainervector.hh:115
const IndexSet * indexSet_
Definition persistentcontainervector.hh:136
Vector::iterator Iterator
Definition persistentcontainervector.hh:60
ConstIterator begin() const
Definition persistentcontainervector.hh:124
ConstIterator end() const
Definition persistentcontainervector.hh:127
void shrinkToFit()
Definition persistentcontainervector.hh:113
Vector::const_iterator ConstIterator
Definition persistentcontainervector.hh:59
const IndexSet & indexSet() const
Definition persistentcontainervector.hh:133
int codimension() const
Definition persistentcontainervector.hh:130
void swap(This &other)
Definition persistentcontainervector.hh:117
const Value & operator[](const Entity &entity) const
Definition persistentcontainervector.hh:72
void resize(const Value &value=Value())
Definition persistentcontainervector.hh:107
T fill(T... args)
T swap(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8