#include <dune/grid/alugrid/common/persistentcontainer.hh>
Public Member Functions |
| PersistentContainer (const GridType &grid, const int codim, const Allocator &allocator=Allocator()) |
const Data & | getData (const size_t idx) const |
const ALU3dGrid< elType, Comm >
::HierarchicIndexSet & | index () |
| pass on index set used for Container
|
Data & | operator[] (const Entity &entity) |
| random access to entity data with correct codimension
|
const Data & | operator[] (const Entity &entity) const |
| random access to entity data with correct codimension
|
Data & | operator() (const ElementType &element, const int subEntity) |
| access for sub entity data
|
const Data & | operator() (const ElementType &element, const int subEntity) const |
| access for sub entity data
|
Iterator | begin () |
| const iterator begin
|
ConstIterator | begin () const |
| const iterator begin
|
Iterator | end () |
| iterator end
|
ConstIterator | end () const |
| const iterator end
|
size_t | size () const |
| return size of allocated data
|
void | reserve () |
| enlarge container, compress is not necessary but could be done
|
void | clear () |
| adjust container to correct size and set all values to default
|
void | update () |
| adjust container to correct size including compress
|
Member Typedef Documentation
template<ALU3dGridElementType elType, class Comm , class Data , class Allocator >
Constructor & Destructor Documentation
template<ALU3dGridElementType elType, class Comm , class Data , class Allocator >
Constructor filling the container with values using the default constructor Depending on the implementation this could be achieved without allocating memory
Member Function Documentation
template<ALU3dGridElementType elType, class Comm , class Data , class Allocator >
random access to entity data with correct codimension
References Dune::PersistentContainerVector< Grid, Index, Vector >::codim_, Dune::Entity< cd, dim, GridImp, EntityImp >::codimension, Dune::PersistentContainerVector< Grid, Index, Vector >::data_, and Dune::PersistentContainerVector< Grid, Index, Vector >::index_.
random access to entity data with correct codimension
References Dune::PersistentContainerVector< Grid, Index, Vector >::codim_, Dune::Entity< cd, dim, GridImp, EntityImp >::codimension, Dune::PersistentContainerVector< Grid, Index, Vector >::data_, and Dune::PersistentContainerVector< Grid, Index, Vector >::index_.
enlarge container, compress is not necessary but could be done
References Dune::PersistentContainerVector< Grid, Index, Vector >::codim_, Dune::PersistentContainerVector< Grid, Index, Vector >::data_, Dune::PersistentContainerVector< Grid, Index, Vector >::index_, and Dune::PersistentContainerVector< Grid, Index, Vector >::update().
adjust container to correct size including compress
References Dune::PersistentContainerVector< Grid, Index, Vector >::codim_, Dune::PersistentContainerVector< Grid, Index, Vector >::data_, Dune::PersistentContainerVector< Grid, Index, Vector >::index_, and Dune::PersistentContainerVector< Grid, Index, Vector >::overEstimate_.
Member Data Documentation
The documentation for this class was generated from the following file: