dune-fem 2.8.0
|
#include <dune/fem/space/common/dofmanager.hh>
Public Member Functions | |
virtual | ~ManagedIndexSetInterface ()=default |
virtual void | resize ()=0 |
resize of index set | |
virtual bool | compress ()=0 |
compress of index set | |
virtual void | backup () const =0 |
:: backup | |
virtual void | restore ()=0 |
:: restore | |
virtual void | write (StandardOutStream &out) const =0 |
new read/write methods using binary streams | |
virtual void | read (StandardInStream &out)=0 |
void | addReference () |
increase reference counter | |
bool | removeReference () |
decrease reference counter and return true if zero reached | |
template<class IndexSet > | |
bool | equals (const IndexSet &iset) const |
Protected Types | |
typedef const void * | IdentifierType |
Protected Member Functions | |
template<class IndexSet > | |
ManagedIndexSetInterface (const IndexSet &iset) | |
Protected Attributes | |
IdentifierType | setPtr_ |
size_t | referenceCounter_ |
This class is the virtual interface for the index sets managed by the DofManager. The derived classes are of the type ManagedIndexSet<IndexSet>. This means we don't have to inherit every index set we want to use with this DofManager.