|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
codimindexset.hh
Go to the documentation of this file.
327 DUNE_THROW(NotImplemented,"CodimIndexSet::subIndex: not implemented for entities with codim > 0" );
515 DUNE_THROW(InvalidStateException,"CodimIndexSet: size consistency check failed during restore!");
iterator end()
std::ptrdiff_t index() const
#define DUNE_THROW(E,...)
constexpr Iterator end()
constexpr Iterator begin()
void fill(const Value &value)
IteratorWrapper< const Value, typename Map::const_iterator > ConstIterator
void resize(const Value &value=Value())
ConstIterator begin() const
ConstIterator end() const
Size size() const
IteratorWrapper< Value, typename Map::iterator > Iterator
Definition codimindexset.hh:30
DynamicArray< INDEXSTATE > IndexStateArrayType
Definition codimindexset.hh:53
void setMemoryFactor(const double memoryFactor)
set memory overestimation factor
Definition codimindexset.hh:99
bool exists(const EntityType &entity, const int subNumber) const
Definition codimindexset.hh:354
IndexType additionalSizeEstimate() const
return how much extra memory is needed for restriction
Definition codimindexset.hh:291
DynamicArray< IndexType > IndexArrayType
Definition codimindexset.hh:52
IndexType subIndex(const EntityType &entity, const int subNumber, const std::integral_constant< bool, false > codim0) const
return leaf index for given entity
Definition codimindexset.hh:323
void insert(const EntityType &entity)
Definition codimindexset.hh:387
void markForRemoval(const EntityType &entity)
Definition codimindexset.hh:419
IndexType numberOfHoles() const
return number of holes
Definition codimindexset.hh:366
void insertGhost(const EntityType &entity)
Definition codimindexset.hh:404
IndexType newIndex(IndexType elNum) const
return new index, for dof manager only returns index
Definition codimindexset.hh:379
bool read(InStreamInterface< StreamTraits > &in)
Definition codimindexset.hh:497
bool write(OutStreamInterface< StreamTraits > &out) const
Definition codimindexset.hh:473
void insertSubEntity(const EntityType &entity, const int subNumber)
Definition codimindexset.hh:395
IndexType size() const
return size of grid entities per level and codim
Definition codimindexset.hh:294
void resetUsed()
set all entries to unused
Definition codimindexset.hh:124
CodimIndexSet(const GridType &grid, const int codim, const double memoryFactor=1.1)
Constructor taking memory factor (default = 1.1)
Definition codimindexset.hh:82
IndexType subIndex(const EntityType &entity, const int subNumber, const std::integral_constant< bool, true > codim0) const
return leaf index for given entity
Definition codimindexset.hh:333
bool exists(const EntityType &entity) const
return state of index for given hierarchic number
Definition codimindexset.hh:343
bool checkValidIndex(const IndexType &idx) const
Definition codimindexset.hh:451
IndexType realSize() const
return size of grid entities per level and codim
Definition codimindexset.hh:297
void prepareCompress()
prepare for setup (nothing to do here)
Definition codimindexset.hh:111
IndexType subIndex(const EntityType &entity, const int subNumber) const
return leaf index for given entity
Definition codimindexset.hh:314
void checkConsecutive()
set all entries to unused
Definition codimindexset.hh:156
void clearHoles()
clear holes, i.e. set number of holes to zero
Definition codimindexset.hh:159
bool validIndex(const EntityType &entity) const
Definition codimindexset.hh:429
PersistentContainer< GridType, IndexType > IndexContainerType
Definition codimindexset.hh:56
IndexType index(const EntityType &entity) const
return leaf index for given entity
Definition codimindexset.hh:305
Fem::CommunicationIndexMap::IndexType IndexType
Definition codimindexset.hh:45
IndexType oldIndex(IndexType elNum) const
return old index, for dof manager only
Definition codimindexset.hh:372
size_type size() const
return size of array
Definition dynamicarray.hh:170
An implementation of DenseVector which uses a C-array of dynamic size as storage.
Definition dynamicarray.hh:244
void setMemoryFactor(double memFactor)
set memory factor
Definition dynamicarray.hh:296
T end(T... args)
T endl(T... args)
T fill(T... args)
T find(T... args)
T insert(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8