consecutive, persistent index set for the leaf level based on the grid's hierarchy index set
More...
|
| AdaptiveLeafIndexSet (const GridType *grid) |
| Constructor.
|
|
| AdaptiveLeafIndexSet (const GridPartType &gridPart) |
| Constructor.
|
|
virtual std::string | name () const |
| return name of index set
|
|
int | type () const |
| return type of index set, for GrapeDataIO
|
|
IndexType | size (GeometryType type) const |
| return number of entities of given type */ More...
|
|
IndexType | size (int codim) const |
| return number of entities of given type */ More...
|
|
const std::vector< GeometryType > & | geomTypes (const int codim) const |
| */ More...
|
|
Types | types (const int codim) const |
| return range of geometry types */ More...
|
|
bool | contains (const EntityType &en) const |
| return true if entity has index */ More...
|
|
template<class Entity > |
bool | contains (const Entity &entity) const |
| return true if entity has index
|
|
void | insertEntity (const GridElementType &entity) |
| please doc me */ More...
|
|
void | removeEntity (const GridElementType &entity) |
| please doc me */ More...
|
|
void | resizeVectors () |
| reallocate the vector for new size
|
|
void | resize () |
| please doc me */ More...
|
|
IndexType | index (const Entity &entity) const |
| return number of entities of given type */ More...
|
|
IndexType | index (const typename GridPartType::template Codim< codim >::EntityType &entity) const |
| return number of entities of given type */ More...
|
|
template<int codim> |
IndexType | index (const typename Codim< codim >::Entity &entity) const |
| return index for given entity
|
|
IndexType | subIndex (const Entity &entity, int subNumber, unsigned int codim) const |
| return index for given subentity */ More...
|
|
IndexType | subIndex (const typename GridPartType::template Codim< cd >::EntityType &entity, int subNumber, unsigned int codim) const |
| return index for given subentity */ More...
|
|
template<int codim> |
IndexType | subIndex (const typename Codim< codim >::Entity &entity, int i, unsigned int cd) const |
| return index for given subentity
|
|
IndexType | numberOfHoles (GeometryType type) const |
| return number of holes for given type */ More...
|
|
IndexType | numberOfHoles (const int codim) const |
| return number of holes of the sets indices
|
|
IndexType | oldIndex (IndexType hole, GeometryType type) const |
| return old index for given hole and type */ More...
|
|
IndexType | oldIndex (const IndexType hole, const int codim) const |
| return old index, for dof manager only
|
|
IndexType | newIndex (IndexType hole, GeometryType type) const |
| return new index for given hole and type */ More...
|
|
IndexType | newIndex (const IndexType hole, const int codim) const |
| return new index, for dof manager only returns index
|
|
bool | write (OutStreamInterface< StreamTraits > &out) const |
| please doc me */ More...
|
|
bool | read (InStreamInterface< StreamTraits > &in) |
| please doc me */ More...
|
|
void | backup () const |
| please doc me More...
|
|
void | restore () |
| please doc me More...
|
|
void | addBackupRestore () override final |
| please doc me More...
|
|
void | removeBackupRestore () override final |
| please doc me More...
|
|
|
void | insertEntity (const typename BaseType::template Codim< 0 >::Entity &entity) |
| please doc me
|
|
void | removeEntity (const typename BaseType::template Codim< 0 >::Entity &entity) |
| please doc me
|
|
template<class T > |
void | write (OutStreamInterface< T > &stream) const |
| please doc me
|
|
template<class T > |
void | read (InStreamInterface< T > &stream) |
| please doc me
|
|
|
int | oldIndex (int hole, GeometryType type) const |
| return old index for given hole and type
|
|
int | newIndex (int hole, GeometryType type) const |
| return new index for given hole and type
|
|
template<class GridPartImp>
class Dune::Fem::AdaptiveLeafIndexSet< GridPartImp >
consecutive, persistent index set for the leaf level based on the grid's hierarchy index set
This index set generates a consecutive leaf index out of the unique global index of each entity. It can be used instead of the default grid index sets and can be generated for each grid implementation.
- Note
- This index sets supports all indices for all codimensions of the grid.