|
dune-fem 2.8.0
|
#include <dune/fem/gridpart/codimindexset.hh>
Public Types | |
| typedef int | IndexType |
Public Member Functions | |
| CodimIndexSet (const GridType &grid, const int codim, const double memoryFactor=1.1) | |
| Constructor taking memory factor (default = 1.1) | |
| void | setMemoryFactor (const double memoryFactor) |
| set memory overestimation factor | |
| void | resize () |
| reallocate the vectors | |
| void | prepareCompress () |
| prepare for setup (nothing to do here) | |
| void | clear () |
| clear set | |
| void | resetUsed () |
| set all entries to unused | |
| bool | consecutive () |
| void | checkConsecutive () |
| set all entries to unused | |
| void | clearHoles () |
| clear holes, i.e. set number of holes to zero | |
| bool | compress () |
| IndexType | additionalSizeEstimate () const |
| return how much extra memory is needed for restriction | |
| IndexType | size () const |
| return size of grid entities per level and codim | |
| IndexType | realSize () const |
| return size of grid entities per level and codim | |
| template<class EntityType > | |
| IndexType | index (const EntityType &entity) const |
| return leaf index for given entity | |
| template<class EntityType > | |
| IndexType | subIndex (const EntityType &entity, const int subNumber) const |
| return leaf index for given entity | |
| template<class EntityType > | |
| IndexType | subIndex (const EntityType &entity, const int subNumber, const std::integral_constant< bool, false > codim0) const |
| return leaf index for given entity | |
| template<class EntityType > | |
| IndexType | subIndex (const EntityType &entity, const int subNumber, const std::integral_constant< bool, true > codim0) const |
| return leaf index for given entity | |
| template<class EntityType > | |
| bool | exists (const EntityType &entity) const |
| return state of index for given hierarchic number | |
| template<class EntityType > | |
| bool | exists (const EntityType &entity, const int subNumber) const |
| IndexType | numberOfHoles () const |
| return number of holes | |
| IndexType | oldIndex (int elNum) const |
| return old index, for dof manager only | |
| IndexType | newIndex (int elNum) const |
| return new index, for dof manager only returns index | |
| template<class EntityType > | |
| void | insert (const EntityType &entity) |
| template<class EntityType > | |
| void | insertSubEntity (const EntityType &entity, const int subNumber) |
| template<class EntityType > | |
| void | insertGhost (const EntityType &entity) |
| template<class EntityType > | |
| void | markForRemoval (const EntityType &entity) |
| template<class EntityType > | |
| bool | validIndex (const EntityType &entity) const |
| void | print (std::ostream &out) const |
| template<class StreamTraits > | |
| bool | write (OutStreamInterface< StreamTraits > &out) const |
| template<class StreamTraits > | |
| bool | read (InStreamInterface< StreamTraits > &in) |
Static Public Member Functions | |
| static IndexType | invalidIndex () |
Protected Types | |
| typedef GridImp | GridType |
| typedef CodimIndexSet< GridType > | ThisType |
| typedef DynamicArray< IndexType > | IndexArrayType |
| typedef DynamicArray< INDEXSTATE > | IndexStateArrayType |
| typedef PersistentContainer< GridType, IndexType > | IndexContainerType |
Protected Member Functions | |
| bool | checkValidIndex (const IndexType &idx) const |
| void | insertIdx (IndexType &index) |
Protected Attributes | |
| IndexContainerType | leafIndex_ |
| IndexStateArrayType | indexState_ |
| IndexArrayType | holes_ |
| IndexArrayType | oldIdx_ |
| IndexArrayType | newIdx_ |
| IndexType | lastSize_ |
| const int | myCodim_ |
| IndexType | numberHoles_ |
|
protected |
|
protected |
|
protected |
|
protected |
| typedef int Dune::Fem::CodimIndexSet< GridImp >::IndexType |
|
protected |
|
inline |
Constructor taking memory factor (default = 1.1)
|
inline |
return how much extra memory is needed for restriction
|
inline |
set all entries to unused
|
inlineprotected |
|
inline |
clear set
|
inline |
clear holes, i.e. set number of holes to zero
|
inline |
make to index numbers consecutive return true, if at least one hole was closed
|
inline |
|
inline |
return state of index for given hierarchic number
|
inline |
|
inline |
return leaf index for given entity
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
return new index, for dof manager only returns index
|
inline |
return number of holes
|
inline |
return old index, for dof manager only
|
inline |
prepare for setup (nothing to do here)
|
inline |
|
inline |
|
inline |
return size of grid entities per level and codim
|
inline |
set all entries to unused
|
inline |
reallocate the vectors
|
inline |
set memory overestimation factor
|
inline |
return size of grid entities per level and codim
|
inline |
return leaf index for given entity
|
inline |
return leaf index for given entity
|
inline |
return leaf index for given entity
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |