dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::ManagedIndexSetInterface Class Referenceabstract

#include <dune/fem/space/common/dofmanager.hh>

Inheritance diagram for Dune::Fem::ManagedIndexSetInterface:
Inheritance graph

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_
 

Detailed Description

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.


The documentation for this class was generated from the following file: