|
dune-grid 2.10
|
Specialization of the PersistentContainer for YaspGrid. More...
#include <dune/grid/yaspgrid/yaspgridpersistentcontainer.hh>

Public Types | |
| typedef Base::Grid | Grid |
| typedef Base::Value | Value |
| typedef std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T >::size_type | Size |
| typedef IteratorWrapper< const Value, typename std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T >::const_iterator > | ConstIterator |
| typedef IteratorWrapper< Value, typename std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T >::iterator > | Iterator |
| typedef std::vector< T >::allocator_type | Allocator |
Public Member Functions | |
| PersistentContainer (const Grid &grid, int codim, const Value &value=Value()) | |
| Size | size () const |
| const Value & | operator[] (const Entity &entity) const |
| const Value & | operator() (const Entity &entity, int subEntity) const |
| Size | size () const |
| void | resize (const Value &value=Value()) |
| void | shrinkToFit () |
| void | fill (const Value &value) |
| void | swap (This &other) |
| ConstIterator | begin () const |
| ConstIterator | end () const |
| int | codimension () const |
| template<class Entity> | |
| Value & | operator[] (const Entity &entity) |
| template<class Entity> | |
| Value & | operator() (const Entity &entity, int subEntity) |
| void | resize (const Value &value=Value()) |
| void | fill (const Value &value) |
| Iterator | begin () |
| Iterator | end () |
| void | swap (This &other) |
Protected Member Functions | |
| const Grid & | grid () const |
| void | migrateLevel (int level, const Value &value, std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T > &data, std::integral_constant< bool, true >) |
| const YaspGrid< dim, CoordCont >::LocalIdSet & | idSet () const |
| template<int codim> | |
| void | migrateLevel (int level, const Value &value, Map &data, std::integral_constant< bool, false >) |
| const YaspPersistentContainerIndex< const YaspGrid< dim, CoordCont > > & | indexSet () const |
Static Protected Member Functions | |
| static void | migrateEntry (const typename YaspGrid< dim, CoordCont >::LocalIdSet::IdType &id, const Value &value, std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T > &oldData, std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T > &newData) |
Protected Attributes | |
| const Grid * | grid_ |
| int | codim_ |
| const YaspGrid< dim, CoordCont >::LocalIdSet * | idSet_ |
| std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T > | data_ |
| const YaspPersistentContainerIndex< const YaspGrid< dim, CoordCont > > * | indexSet_ |
Private Member Functions | |
| std::size_t | size (int) const |
Return total number of entities of given geometry type in entity set ![]() | |
Specialization of the PersistentContainer for YaspGrid.
|
inherited |
| typedef IteratorWrapper< const Value, typename std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T >::const_iterator > Dune::PersistentContainerMap< YaspGrid< dim, CoordCont >, YaspGrid< dim, CoordCont >::LocalIdSet, std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T > >::ConstIterator |
| typedef Base::Grid Dune::PersistentContainer< YaspGrid< dim, CoordCont >, T >::Grid |
| typedef IteratorWrapper< Value, typename std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T >::iterator > Dune::PersistentContainerMap< YaspGrid< dim, CoordCont >, YaspGrid< dim, CoordCont >::LocalIdSet, std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T > >::Iterator |
| typedef std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T >::size_type Dune::PersistentContainerMap< YaspGrid< dim, CoordCont >, YaspGrid< dim, CoordCont >::LocalIdSet, std::map< YaspGrid< dim, CoordCont >::LocalIdSet::IdType, T > >::Size |
| typedef Base::Value Dune::PersistentContainer< YaspGrid< dim, CoordCont >, T >::Value |
|
inline |
|
inline |
|
inlineinherited |
|
inline |
|
inline |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedinherited |
|
inlinestaticprotected |
|
inlineprotected |
|
inlineprotectedinherited |
|
inline |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedinherited |