DefaultIndexSet creates an index set by using the grids persistent container an a given pair of iterators.
More...
#include <dune/alugrid/common/defaultindexsets.hh>
|
| DefaultIndexSet (const GridType &grid, const IteratorType &begin, const IteratorType &end, const int level=-1) |
|
const PersistentContainerType & | indexContainer (const size_t codim) const |
|
PersistentContainerType & | indexContainer (const size_t codim) |
|
template<class EntityType > |
IndexType | index (const EntityType &en) const |
| return LevelIndex of given entity More...
|
|
template<int cd> |
IndexType | index (const typename GridImp::template Codim< cd >::Entity &en) const |
| return LevelIndex of given entity More...
|
|
template<int cc> |
IndexType | subIndex (const typename std::remove_const< GridImp >::type::Traits::template Codim< cc >::Entity &e, int i, unsigned int codim) const |
|
template<class EntityType > |
bool | contains (const EntityType &en) const |
| returns true if this set provides an index for given entity More...
|
|
IndexType | size (int codim) const |
| return size of IndexSet for a given level and codim More...
|
|
IndexType | size (GeometryType type) const |
|
void | calcNewIndex (const IteratorType &begin, const IteratorType &end) |
|
const std::vector< GeometryType > & | geomTypes (int codim) const |
| deliver all geometry types used in this grid More...
|
|
Types | types (const int codim) const |
| deliver all geometry types used in this grid More...
|
|
bool | containsIndex (const int cd, const int idx) const |
| returns true if this set provides an index for given entity More...
|
|
template<class GridImp, class IteratorImp>
class Dune::DefaultIndexSet< GridImp, IteratorImp >
DefaultIndexSet creates an index set by using the grids persistent container an a given pair of iterators.
◆ IndexType
template<class GridImp , class IteratorImp >
◆ PersistentContainerType
template<class GridImp , class IteratorImp >
◆ PersistentContainerVectorType
template<class GridImp , class IteratorImp >
◆ Types
template<class GridImp , class IteratorImp >
◆ anonymous enum
template<class GridImp , class IteratorImp >
◆ DefaultIndexSet()
template<class GridImp , class IteratorImp >
create index set by using the given begin and end iterator for the given level (level == -1 means leaf level)
◆ calcNewIndex()
template<class GridImp , class IteratorImp >
void Dune::DefaultIndexSet< GridImp, IteratorImp >::calcNewIndex |
( |
const IteratorType & |
begin, |
|
|
const IteratorType & |
end |
|
) |
| |
|
inline |
do calculation of the index set, has to be called when grid was changed or if index set is created
◆ contains()
template<class GridImp , class IteratorImp >
template<class EntityType >
returns true if this set provides an index for given entity
◆ containsIndex()
template<class GridImp , class IteratorImp >
returns true if this set provides an index for given entity
◆ geomTypes()
template<class GridImp , class IteratorImp >
const std::vector<GeometryType>& Dune::DefaultIndexSet< GridImp, IteratorImp >::geomTypes |
( |
int |
codim | ) |
const |
|
inline |
deliver all geometry types used in this grid
◆ index() [1/2]
template<class GridImp , class IteratorImp >
template<class EntityType >
return LevelIndex of given entity
◆ index() [2/2]
template<class GridImp , class IteratorImp >
template<int cd>
return LevelIndex of given entity
◆ indexContainer() [1/2]
template<class GridImp , class IteratorImp >
◆ indexContainer() [2/2]
template<class GridImp , class IteratorImp >
◆ size() [1/2]
template<class GridImp , class IteratorImp >
return size of IndexSet for a given level and codim this method is to be revised
◆ size() [2/2]
template<class GridImp , class IteratorImp >
return size of IndexSet for a given level and codim
◆ subIndex()
template<class GridImp , class IteratorImp >
template<int cc>
IndexType Dune::DefaultIndexSet< GridImp, IteratorImp >::subIndex |
( |
const typename std::remove_const< GridImp >::type::Traits::template Codim< cc >::Entity & |
e, |
|
|
int |
i, |
|
|
unsigned int |
codim |
|
) |
| const |
|
inline |
return subIndex (LevelIndex) for a given Entity of codim = 0 and a given SubEntity codim and number of SubEntity
◆ types()
template<class GridImp , class IteratorImp >
deliver all geometry types used in this grid
The documentation for this class was generated from the following file: