A map from indices to entities using grid entity seeds. More...
#include <dumux/common/entitymap.hh>
A map from indices to entities using grid entity seeds.
Public Types | |
using | Grid = typename GridView::Traits::Grid |
using | Entity = typename Grid::template Codim< codim >::Entity |
using | EntitySeed = typename Grid::template Codim< codim >::EntitySeed |
Public Member Functions | |
EntityMap (const Grid &grid, std::vector< EntitySeed > &&seeds) | |
constructor moving a ready seed list in here More... | |
template<class Mapper > | |
EntityMap (const Grid &grid, const Mapper &mapper) | |
constructor with all entities of codim More... | |
void | update (std::vector< EntitySeed > &&seeds) |
update the map after the grid changed More... | |
template<class Mapper > | |
void | update (const Mapper &mapper) |
update the map after the grid changed More... | |
Entity | operator[] (std::size_t i) const |
get an element from an index i More... | |
std::size_t | size () const |
get the size of the map More... | |
using Dumux::EntityMap< GridView, codim >::Entity = typename Grid::template Codim<codim>::Entity |
using Dumux::EntityMap< GridView, codim >::EntitySeed = typename Grid::template Codim<codim>::EntitySeed |
using Dumux::EntityMap< GridView, codim >::Grid = typename GridView::Traits::Grid |
|
inline |
constructor moving a ready seed list in here
|
inline |
constructor with all entities of codim
|
inline |
get an element from an index i
|
inline |
get the size of the map
|
inline |
update the map after the grid changed
|
inline |
update the map after the grid changed