|
dune-fem 2.12-git
|
consecutive, persistent index set for the leaf level based on the grid's hierarchy index set More...
#include <dune/fem/gridpart/adaptiveleafindexset.hh>

Public Types | |
| typedef BaseType::GridType | GridType |
| typedef BaseType::GridPartType | GridPartType |
| typedef BaseType::IndexType | IndexType |
| index type */ | |
| typedef BaseType::Types | Types |
| geometry type range type */ | |
| typedef BaseType::template Codim< 0 >::Entity | ElementType |
| type of codimension 0 Entity | |
| typedef GridPartType::IntersectionIteratorType | IntersectionIteratorType |
| type of intersection iterator | |
| typedef GridPartType::IntersectionType | IntersectionType |
| type of intersections | |
Public Member Functions | |
| AdaptiveLeafIndexSet (const GridType *grid) | |
| Constructor. | |
| AdaptiveLeafIndexSet (const GridPartType &gridPart) | |
| Constructor. | |
| virtual std::string | name () const |
| return name of index set | |
| bool | compress () |
| void | requestCodimensions (const std::vector< int > &codimensions) const |
| int | type () const |
| return type of index set, for GrapeDataIO | |
| const GridPartType & | gridPart () const |
| return const reference to the grid part | |
| IndexType | size (GeometryType type) const |
| return number of entities of given type */ | |
| IndexType | size (int codim) const |
| return number of entities of given type */ | |
| const std::vector< GeometryType > & | geomTypes (const int codim) const |
| */ | |
| Types | types (const int codim) const |
| return range of geometry types */ | |
| bool | contains (const EntityType &en) const |
| return true if entity has index */ | |
| void | insertEntity (const GridElementType &entity) |
| please doc me */ | |
| void | removeEntity (const GridElementType &entity) |
| please doc me */ | |
| void | resizeVectors () |
| reallocate the vector for new size | |
| void | resize () |
| please doc me */ | |
| IndexType | index (const Entity &entity) const |
| return number of entities of given type */ | |
| IndexType | index (const typename GridPartType::template Codim< codim >::EntityType &entity) const |
| return number of entities of given type */ | |
| IndexType | index (const IntersectionType &intersection) const |
| IndexType | subIndex (const IntersectionType &intersection, int subNumber, unsigned int codim) const |
| IndexType | subIndex (const Entity &entity, int subNumber, unsigned int codim) const |
| return index for given subentity */ | |
| IndexType | subIndex (const typename GridPartType::template Codim< cd >::EntityType &entity, int subNumber, unsigned int codim) const |
| return index for given subentity */ | |
| IndexType | numberOfHoles (GeometryType type) const |
| return number of holes for given type */ | |
| 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 */ | |
| 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 */ | |
| 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 */ | |
| bool | read (InStreamInterface< StreamTraits > &in) |
| please doc me */ | |
| const GridType & | grid () const |
| return const reference to the grid | |
| void | backup () const |
| please doc me | |
| void | restore () |
| please doc me | |
| void | addBackupRestore () override final |
| please doc me | |
| void | removeBackupRestore () override final |
| please doc me | |
Static Public Attributes | |
| static const int | dimension |
| grid dimension */ | |
| static const int | numCodimensions |
| number of supported codimensions | |
| static const int | intersectionCodimension |
| intersection codimension (numCodim-1 if enabled, otherwise -1) | |
| static const bool | hasSingleGeometryType |
| true if only one geometry type is available | |
Protected Types | |
| typedef TraitsImp::CodimIndexSetType | CodimIndexSetType |
| typedef GridType::template Codim< 0 >::Entity | GridElementType |
| typedef DofManager< GridType > | DofManagerType |
| dof manager type | |
Protected Member Functions | |
| bool | codimAvailable (const int codim) const |
| bool | codimUsed (const int codim) const |
| CodimIndexSetType & | codimLeafSet (const int codim) const |
| void | setupGeomTypes (const MacroIndexSet &indexSet) |
| void | insertIndex (const GridElementType &entity) |
| void | insertIntersections (const GridElementType &entity) const |
| void | insertTemporary (const GridElementType &entity) |
| void | removeIndex (const GridElementType &entity) |
| void | checkHierarchy (const GridElementType &entity, bool wasNew) |
| void | markAllUsed () |
| void | clear () |
| clear index set (only for structured grids) | |
| void | setupIndexSet () |
| mark all indices of interest | |
| void | markAllBelowOld () |
| void | setupCodimSet (const std::integral_constant< bool, true > &hasEntities) const |
| void | setupCodimSet (const std::integral_constant< bool, false > &hasEntities) const |
| void | setupIntersections () const |
| IndexType | countElements (GeometryType type, const std::integral_constant< bool, true > &hasEntities) const |
| IndexType | countElements (GeometryType type, const std::integral_constant< bool, false > &hasEntities) const |
| FaceType | getIntersectionFace (const IntersectionType &intersection) const |
| FaceType | getIntersectionFace (const IntersectionType &intersection, const ElementType &inside) const |
Protected Attributes | |
| const GridType & | grid_ |
| DofManagerType & | dofManager_ |
Detailed Description
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.
Member Typedef Documentation
◆ CodimIndexSetType
|
protectedinherited |
◆ DofManagerType
|
protectedinherited |
dof manager type
◆ ElementType
|
inherited |
type of codimension 0 Entity
◆ GridElementType
|
protectedinherited |
◆ GridPartType
| typedef BaseType::GridPartType Dune::Fem::AdaptiveLeafIndexSet< GridPartImp >::GridPartType |
◆ GridType
| typedef BaseType::GridType Dune::Fem::AdaptiveLeafIndexSet< GridPartImp >::GridType |
◆ IndexType
|
inherited |
index type */
*/
◆ IntersectionIteratorType
|
inherited |
type of intersection iterator
◆ IntersectionType
|
inherited |
type of intersections
◆ Types
|
inherited |
geometry type range type */
*/
Constructor & Destructor Documentation
◆ AdaptiveLeafIndexSet() [1/2]
|
inline |
Constructor.
◆ AdaptiveLeafIndexSet() [2/2]
|
inline |
Constructor.
Member Function Documentation
◆ addBackupRestore()
|
inlinefinaloverridevirtualinherited |
please doc me
Implements Dune::Fem::PersistentIndexSetInterface.
◆ backup()
|
inlineinherited |
please doc me
◆ checkHierarchy()
|
inlineprotectedinherited |
◆ clear()
|
inlineprotectedinherited |
clear index set (only for structured grids)
◆ codimAvailable()
|
inlineprotectedinherited |
◆ codimLeafSet()
|
inlineprotectedinherited |
◆ codimUsed()
|
inlineprotectedinherited |
◆ compress()
|
inline |
◆ contains()
|
inlineinherited |
return true if entity has index */
*/
◆ countElements() [1/2]
|
inlineprotectedinherited |
◆ countElements() [2/2]
|
inlineprotectedinherited |
◆ geomTypes()
|
inlineinherited |
*/
*/
◆ getIntersectionFace() [1/2]
|
inlineprotectedinherited |
◆ getIntersectionFace() [2/2]
|
inlineprotectedinherited |
◆ grid()
|
inlineinherited |
return const reference to the grid
◆ gridPart()
|
inlineinherited |
return const reference to the grid part
◆ index() [1/3]
|
inlineinherited |
return number of entities of given type */
*/
◆ index() [2/3]
|
inlineinherited |
◆ index() [3/3]
|
inlineinherited |
return number of entities of given type */
*/
◆ insertEntity()
|
inlineinherited |
please doc me */
*/
◆ insertIndex()
|
inlineprotectedinherited |
◆ insertIntersections()
|
inlineprotectedinherited |
◆ insertTemporary()
|
inlineprotectedinherited |
◆ markAllBelowOld()
|
inlineprotectedinherited |
◆ markAllUsed()
|
inlineprotectedinherited |
◆ name()
|
inlinevirtual |
return name of index set
Reimplemented from Dune::Fem::AdaptiveIndexSetBase< AdaptiveLeafIndexSetTraits< GridPartImp > >.
◆ newIndex() [1/2]
|
inlineinherited |
return new index, for dof manager only returns index
◆ newIndex() [2/2]
|
inlineinherited |
return new index for given hole and type */
*/
◆ numberOfHoles() [1/2]
|
inlineinherited |
return number of holes of the sets indices
◆ numberOfHoles() [2/2]
|
inlineinherited |
return number of holes for given type */
*/
◆ oldIndex() [1/2]
|
inlineinherited |
return old index, for dof manager only
◆ oldIndex() [2/2]
|
inlineinherited |
return old index for given hole and type */
*/
◆ read()
|
inlineinherited |
please doc me */
*/
◆ removeBackupRestore()
|
inlinefinaloverridevirtualinherited |
please doc me
Implements Dune::Fem::PersistentIndexSetInterface.
◆ removeEntity()
|
inlineinherited |
please doc me */
*/
◆ removeIndex()
|
inlineprotectedinherited |
◆ requestCodimensions()
|
inlineinherited |
◆ resize()
|
inlineinherited |
please doc me */
*/
◆ resizeVectors()
|
inlineinherited |
reallocate the vector for new size
◆ restore()
|
inlineinherited |
please doc me
◆ setupCodimSet() [1/2]
|
inlineprotectedinherited |
◆ setupCodimSet() [2/2]
|
inlineprotectedinherited |
◆ setupGeomTypes()
|
inlineprotectedinherited |
get geometry types (not working for hybrid grids, like to whole set itself)
◆ setupIndexSet()
|
inlineprotectedinherited |
mark all indices of interest
◆ setupIntersections()
|
inlineprotectedinherited |
◆ size() [1/2]
|
inlineinherited |
return number of entities of given type */
*/
◆ size() [2/2]
|
inlineinherited |
return number of entities of given type */
*/
◆ subIndex() [1/3]
|
inlineinherited |
return index for given subentity */
*/
◆ subIndex() [2/3]
|
inlineinherited |
◆ subIndex() [3/3]
|
inlineinherited |
return index for given subentity */
*/
◆ type()
|
inlineinherited |
return type of index set, for GrapeDataIO
◆ types()
|
inlineinherited |
return range of geometry types */
*/
◆ write()
|
inlineinherited |
please doc me */
*/
Member Data Documentation
◆ dimension
|
staticinherited |
grid dimension */
*/
◆ dofManager_
|
protectedinherited |
◆ grid_
|
protectedinherited |
◆ hasSingleGeometryType
|
staticinherited |
true if only one geometry type is available
◆ intersectionCodimension
|
staticinherited |
intersection codimension (numCodim-1 if enabled, otherwise -1)
◆ numCodimensions
|
staticinherited |
number of supported codimensions
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8