|
dune-grid
2.2.1
|
An implementation for the PersistentContainer based on a container satisfying the std::vector interface and using a class providing an IndexSet for storing the Data. More...
#include <dune/grid/utility/persistentcontainer.hh>
Public Types | |
| typedef Vector::value_type | Data |
| typedef Grid | GridType |
| typedef GridType::template Codim< 0 >::Entity | ElementType |
| entity of codimension 0 More... | |
| typedef Vector::iterator | Iterator |
| iterator type More... | |
| typedef Vector::const_iterator | ConstIterator |
| const iterator type More... | |
Public Member Functions | |
| PersistentContainerVector (const GridType &grid, const int codim, const Index &index, const double overEstimate, const typename Vector::allocator_type &allocator) | |
| constructor creating vector container filled with default value More... | |
| PersistentContainerVector (const PersistentContainerVector &other) | |
| copy constructor More... | |
| const Index & | index () |
| pass on index set used for Container More... | |
| template<class Entity > | |
| Data & | operator[] (const Entity &entity) |
| random access to entity data with correct codimension More... | |
| template<class Entity > | |
| const Data & | operator[] (const Entity &entity) const |
| random access to entity data with correct codimension More... | |
| Data & | operator() (const ElementType &element, const int subEntity) |
| access for sub entity data More... | |
| const Data & | operator() (const ElementType &element, const int subEntity) const |
| access for sub entity data More... | |
| Iterator | begin () |
| const iterator begin More... | |
| ConstIterator | begin () const |
| const iterator begin More... | |
| Iterator | end () |
| iterator end More... | |
| ConstIterator | end () const |
| const iterator end More... | |
| size_t | size () const |
| return size of allocated data More... | |
| void | reserve () |
| enlarge container, compress is not necessary but could be done More... | |
| void | clear () |
| adjust container to correct size and set all values to default More... | |
| void | update () |
| adjust container to correct size including compress More... | |
Protected Attributes | |
| const int | codim_ |
| const Index & | index_ |
| const double | overEstimate_ |
| Vector | data_ |
An implementation for the PersistentContainer based on a container satisfying the std::vector interface and using a class providing an IndexSet for storing the Data.
| typedef Vector :: const_iterator Dune::PersistentContainerVector< Grid, Index, Vector >::ConstIterator |
const iterator type
| typedef Vector::value_type Dune::PersistentContainerVector< Grid, Index, Vector >::Data |
| typedef GridType :: template Codim< 0 >:: Entity Dune::PersistentContainerVector< Grid, Index, Vector >::ElementType |
entity of codimension 0
| typedef Grid Dune::PersistentContainerVector< Grid, Index, Vector >::GridType |
| typedef Vector :: iterator Dune::PersistentContainerVector< Grid, Index, Vector >::Iterator |
iterator type
|
inline |
constructor creating vector container filled with default value
|
inline |
copy constructor
|
inline |
const iterator begin
|
inline |
const iterator begin
|
inline |
adjust container to correct size and set all values to default
|
inline |
iterator end
|
inline |
const iterator end
|
inline |
pass on index set used for Container
|
inline |
access for sub entity data
|
inline |
access for sub entity data
|
inline |
random access to entity data with correct codimension
|
inline |
random access to entity data with correct codimension
|
inline |
enlarge container, compress is not necessary but could be done
|
inline |
return size of allocated data
|
inline |
adjust container to correct size including compress
|
protected |
Referenced by Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::clear(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::operator()(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::operator[](), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::reserve(), and Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::update().
|
protected |
Referenced by Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::begin(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::clear(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::end(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::operator()(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::operator[](), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::reserve(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::size(), and Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::update().
|
protected |
Referenced by Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::clear(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::index(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::operator()(), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::operator[](), Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::reserve(), and Dune::PersistentContainerVector< AlbertaGrid< dim, dimworld >, AlbertaGrid< dim, dimworld >::HierarchicIndexSet, std::vector< Data, Allocator > >::update().
|
protected |
1.8.3.1