|
dune-grid
2.3.1
|
map-based implementation of the PersistentContainer More...
#include <dune/grid/utility/persistentcontainermap.hh>

Classes | |
| class | IteratorWrapper |
| struct | Resize |
Public Types | |
| typedef G | Grid |
| typedef Map::mapped_type | Value |
| typedef Map::size_type | Size |
| typedef IteratorWrapper< const Value, typename Map::const_iterator > | ConstIterator |
| typedef IteratorWrapper< Value, typename Map::iterator > | Iterator |
| typedef Grid | GridType |
| typedef Value | Data |
Public Member Functions | |
| PersistentContainerMap (const Grid &grid, int codim, const IdSet &idSet, const Value &value) | |
| 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 Grid & | grid () const |
| template<int codim> | |
| void | resize (const Value &value) |
| template<int codim> | |
| void | migrateLevel (int level, const Value &value, Map &data, integral_constant< bool, true >) |
| template<int codim> | |
| void | migrateLevel (int level, const Value &value, Map &data, integral_constant< bool, false >) |
| const IdSet & | idSet () const |
Static Protected Member Functions | |
| static void | migrateEntry (const typename IdSet::IdType &id, const Value &value, Map &oldData, Map &newData) |
Protected Attributes | |
| const Grid * | grid_ |
| int | codim_ |
| const IdSet * | idSet_ |
| Map | data_ |
map-based implementation of the PersistentContainer
| typedef IteratorWrapper< const Value, typename Map::const_iterator > Dune::PersistentContainerMap< G, IdSet, Map >::ConstIterator |
| typedef Value Dune::PersistentContainerMap< G, IdSet, Map >::Data |
| typedef G Dune::PersistentContainerMap< G, IdSet, Map >::Grid |
| typedef Grid Dune::PersistentContainerMap< G, IdSet, Map >::GridType |
| typedef IteratorWrapper< Value, typename Map::iterator > Dune::PersistentContainerMap< G, IdSet, Map >::Iterator |
| typedef Map::size_type Dune::PersistentContainerMap< G, IdSet, Map >::Size |
| typedef Map::mapped_type Dune::PersistentContainerMap< G, IdSet, Map >::Value |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Dune::PersistentContainerMap< G, IdSet, Map >::Resize< codim >::apply(), Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::codimension(), Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::operator()(), and Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::operator[]().
|
inline |
|
inline |
|
inline |
Referenced by Dune::DefaultIndexSet< GridImp, IteratorImp >::calcNewIndex(), Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::clear(), and Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::fill().
|
inlineprotected |
|
inlineprotected |
|
inlinestaticprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Dune::GeoGrid::CoordCache< HostGrid, RangeVector >::adapt(), Dune::DefaultIndexSet< GridImp, IteratorImp >::calcNewIndex(), Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::clear(), Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::PersistentContainerMap(), Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::reserve(), Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::resize(), and Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::update().
|
protected |
|
inline |
Referenced by Dune::GeoGrid::CoordCache< HostGrid, RangeVector >::adapt(), Dune::DefaultIndexSet< GridImp, IteratorImp >::calcNewIndex(), Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::clear(), Dune::PersistentContainerWrapper< GeometryGrid< HostGrid, CoordFunction, Allocator >, T >::shrinkToFit(), and Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::update().
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
Referenced by Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::operator()(), Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::operator[](), Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::size(), and Dune::PersistentContainerMap< HostGrid, HostGrid::LocalIdSet, std::map< HostGrid::LocalIdSet::IdType, RangeVector > >::swap().
|
protected |
|
protected |
1.8.7