It is assumed that the data associated with
is stored in an array. The array can be viewed as a map
from the consecutive, zero-starting index set of
to the data set.
The mapper class provides a mapping
from the entity set to the index set.
Access from a grid entity to its associated data element
then is a two step process:
The function Dune::Mapper::map delivers the index for an entity. Note that that for performance reasons it is usually not checked whether the entity is really in the entity set.
The functions Dune::Mapper::map delivers the index for a (sub-)entity
The function Dune::Mapper::size returns the size of the entity set, i.e.
The different implementations of the mapper interface are listed below.
Classes | |
class | Dune::Mapper< G, MapperImp > |
Mapper interface. More... | |
class | Dune::MultipleCodimMultipleGeomTypeMapper< G, IS, Layout > |
Implementation class for a multiple codim and multiple geometry type mapper. More... | |
class | Dune::LeafMultipleCodimMultipleGeomTypeMapper< G, Layout > |
Multiple codim and multiple geometry type mapper for leaf entities. More... | |
class | Dune::LevelMultipleCodimMultipleGeomTypeMapper< G, Layout > |
Multiple codim and multiple geometry type mapper for entities of one level. More... | |
class | Dune::SingleCodimSingleGeomTypeMapper< G, IS, c > |
Implementation class for a single codim and single geometry type mapper. More... | |
class | Dune::LeafSingleCodimSingleGeomTypeMapper< G, c > |
Single codim and single geometry type mapper for leaf entities. More... | |
class | Dune::LevelSingleCodimSingleGeomTypeMapper< G, c > |
Single codim and single geometry type mapper for entities of one level. More... | |
class | Dune::UniversalMapper< G, IDS > |
Implements a mapper for an arbitrary subset of entities. More... | |
class | Dune::GlobalUniversalMapper< G > |
Universal mapper based on global ids. More... | |
class | Dune::LocalUniversalMapper< G > |
Universal mapper based on local ids. More... |