dune-grid
2.3beta2
|
vector-based implementation of the PersistentContainer More...
#include <dune/grid/utility/persistentcontainervector.hh>
Public Types | |
typedef G | Grid |
typedef Vector::value_type | Value |
typedef Vector::size_type | Size |
typedef Vector::const_iterator | ConstIterator |
typedef Vector::iterator | Iterator |
typedef Vector::allocator_type | Allocator |
typedef Grid | GridType |
typedef Value | Data |
Public Member Functions | |
PersistentContainerVector (const IndexSet &indexSet, int codim, const Value &value, const Allocator &allocator=Allocator()) | |
template<class Entity > | |
const Value & | operator[] (const Entity &entity) const |
template<class Entity > | |
Value & | operator[] (const Entity &entity) |
template<class Entity > | |
const Value & | operator() (const Entity &entity, int subEntity) const |
template<class Entity > | |
Value & | operator() (const Entity &entity, int subEntity) |
Size | size () const |
void | resize (const Value &value=Value()) |
void | shrinkToFit () |
void | fill (const Value &value) |
void | swap (This &other) |
ConstIterator | begin () const |
Iterator | begin () |
ConstIterator | end () const |
Iterator | end () |
int | codimension () const |
void | reserve () |
void | clear () |
void | update () |
Protected Member Functions | |
const IndexSet & | indexSet () const |
Protected Attributes | |
int | codim_ |
const IndexSet * | indexSet_ |
Vector | data_ |
vector-based implementation of the PersistentContainer
typedef Vector::allocator_type Dune::PersistentContainerVector< G, IndexSet, Vector >::Allocator |
typedef Vector::const_iterator Dune::PersistentContainerVector< G, IndexSet, Vector >::ConstIterator |
typedef Value Dune::PersistentContainerVector< G, IndexSet, Vector >::Data |
typedef G Dune::PersistentContainerVector< G, IndexSet, Vector >::Grid |
typedef Grid Dune::PersistentContainerVector< G, IndexSet, Vector >::GridType |
typedef Vector::iterator Dune::PersistentContainerVector< G, IndexSet, Vector >::Iterator |
typedef Vector::size_type Dune::PersistentContainerVector< G, IndexSet, Vector >::Size |
typedef Vector::value_type Dune::PersistentContainerVector< G, IndexSet, Vector >::Value |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::operator()(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::operator[](), and Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::resize().
|
inline |
|
inline |
|
inline |
Referenced by Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::clear(), and Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::fill().
|
inlineprotected |
Referenced by Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::operator()(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::operator[](), and Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::resize().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::clear(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::reserve(), and Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::update().
|
inline |
Referenced by Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::clear(), and Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::update().
|
inline |
|
inline |
|
inline |
|
protected |
Referenced by Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::codimension(), and Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::swap().
|
protected |
Referenced by Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::begin(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::end(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::operator()(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::operator[](), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::resize(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::size(), and Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::swap().
|
protected |
Referenced by Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::indexSet(), and Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< T > >::swap().