dune-fem  2.4.1-rc
Public Types | Public Member Functions | Protected Types | Static Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::ManagedIndexSet< IndexSetType, EntityType > Class Template Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/common/dofmanager.hh>

Inheritance diagram for Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >:
Inheritance graph

Public Types

typedef ManagedIndexSetInterface BaseType
 type of base class More...
 
typedef LocalInterface< EntityType > MyType
 
typedef ObjectStreamExtractor< EntityType >::ObjectStreamType ObjectStreamType
 

Public Member Functions

 ManagedIndexSet (const IndexSetType &iset, LocalIndexSetObjectsType &indexSetList, LocalIndexSetObjectsType &insertList, LocalIndexSetObjectsType &removeList)
 Constructor of MemObject, only to call from DofManager. More...
 
 ~ManagedIndexSet ()
 desctructor More...
 
void resize ()
 wrap resize of index set More...
 
bool compress ()
 wrap compress of index set More...
 
virtual void backup () const
 :: backup More...
 
virtual void restore ()
 :: restore More...
 
virtual void read (XDRFileInStream &in)
 new write method More...
 
virtual void write (XDRFileOutStream &out) const
 new write method More...
 
virtual void read (StandardInStream &in)
 new write method More...
 
virtual void write (StandardOutStream &out) const
 new write method More...
 
void addReference ()
 increase reference counter More...
 
bool removeReference ()
 decrease reference counter and return true if zero reached More...
 
template<class IndexSet >
bool equals (const IndexSet &iset) const
 
CombinedLocalDataCollect< ManagedIndexSet< IndexSetType, EntityType >, B > & operator+ (const B &b)
 
MyTypeoperator+ (const OpType &op)
 
MyTypeoperator+ (const MyType &op)
 
ManagedIndexSet< IndexSetType, EntityType > & asImp ()
 
void apply (ParamType &p) const
 for all pointer to local operators call the func pointer More...
 
MyTypeoperator+= (const OpType &op)
 
MyTypeoperator+= (const MyType &op)
 
void remove (const OpType &op)
 
bool empty () const
 
template<class DiscrOpType >
void saveObjPointer (DiscrOpType *discrOp)
 Store new generated DiscreteOperator Pointer. More...
 
template<class DiscrOpType , class LocalOpType >
void saveObjPointer (DiscrOpType *discrOp, LocalOpType *lop)
 

Protected Types

typedef const void * IdentifierType
 
typedef EntityType ParamType
 
typedef void FuncType(MyType &, ParamType &p)
 
typedef std::pair< MyType *, FuncType * > PairType
 
typedef std::vector< PairTypeListType
 

Static Protected Member Functions

static void copyList (ListType &vec, const MyType &op)
 

Protected Attributes

IndexSetType & indexSet_
 
InsertIndicesToSet< IndexSetType, EntityType > insertIdxObj_
 
RemoveIndicesFromSet< IndexSetType, EntityType > removeIdxObj_
 
LocalIndexSetObjectsTypeindexSetList_
 
LocalIndexSetObjectsTypeinsertList_
 
LocalIndexSetObjectsTyperemoveList_
 
IdentifierType setPtr_
 
size_t referenceCounter_
 

Member Typedef Documentation

template<class IndexSetType , class EntityType >
typedef ManagedIndexSetInterface Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::BaseType

type of base class

typedef void Dune::Fem::LocalInterface< EntityType >::FuncType(MyType &, ParamType &p)
protectedinherited
typedef const void* Dune::Fem::ManagedIndexSetInterface::IdentifierType
protectedinherited
typedef std::vector< PairType > Dune::Fem::LocalInterface< EntityType >::ListType
protectedinherited
typedef LocalInterface<EntityType > Dune::Fem::LocalInterface< EntityType >::MyType
inherited
typedef ObjectStreamExtractor< EntityType >:: ObjectStreamType Dune::Fem::LocalInterface< EntityType >::ObjectStreamType
inherited
typedef std::pair< MyType * , FuncType * > Dune::Fem::LocalInterface< EntityType >::PairType
protectedinherited
typedef EntityType Dune::Fem::LocalInterface< EntityType >::ParamType
protectedinherited

Constructor & Destructor Documentation

template<class IndexSetType , class EntityType >
Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::ManagedIndexSet ( const IndexSetType &  iset,
LocalIndexSetObjectsType indexSetList,
LocalIndexSetObjectsType insertList,
LocalIndexSetObjectsType removeList 
)
inline

Constructor of MemObject, only to call from DofManager.

template<class IndexSetType , class EntityType >
Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::~ManagedIndexSet ( )
inline

Member Function Documentation

void Dune::Fem::ManagedIndexSetInterface::addReference ( )
inlineinherited

increase reference counter

Referenced by Dune::Fem::DofManager< Grid >::addIndexSet().

void Dune::Fem::LocalInterface< EntityType >::apply ( ParamType p) const
inlineinherited

for all pointer to local operators call the func pointer

ManagedIndexSet< IndexSetType, EntityType > & Dune::Fem::LocalInlinePlus< ManagedIndexSet< IndexSetType, EntityType > , EntityType >::asImp ( )
inlineinherited
template<class IndexSetType , class EntityType >
virtual void Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::backup ( ) const
inlinevirtual

:: backup

:: backup

Implements Dune::Fem::ManagedIndexSetInterface.

template<class IndexSetType , class EntityType >
bool Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::compress ( )
inlinevirtual

wrap compress of index set

Implements Dune::Fem::ManagedIndexSetInterface.

static void Dune::Fem::LocalInterface< EntityType >::copyList ( ListType vec,
const MyType op 
)
inlinestaticprotectedinherited
bool Dune::Fem::LocalInterface< EntityType >::empty ( ) const
inlineinherited
template<class IndexSet >
bool Dune::Fem::ManagedIndexSetInterface::equals ( const IndexSet iset) const
inlineinherited
MyType& Dune::Fem::LocalInterface< EntityType >::operator+ ( const OpType &  op)
inlineinherited
MyType& Dune::Fem::LocalInterface< EntityType >::operator+ ( const MyType op)
inlineinherited
CombinedLocalDataCollect<ManagedIndexSet< IndexSetType, EntityType > ,B>& Dune::Fem::LocalInlinePlus< ManagedIndexSet< IndexSetType, EntityType > , EntityType >::operator+ ( const B &  b)
inlineinherited
MyType& Dune::Fem::LocalInterface< EntityType >::operator+= ( const OpType &  op)
inlineinherited
MyType& Dune::Fem::LocalInterface< EntityType >::operator+= ( const MyType op)
inlineinherited
template<class IndexSetType , class EntityType >
virtual void Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::read ( XDRFileInStream in)
inlinevirtual

new write method

Implements Dune::Fem::ManagedIndexSetInterface.

template<class IndexSetType , class EntityType >
virtual void Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::read ( StandardInStream in)
inlinevirtual

new write method

Implements Dune::Fem::ManagedIndexSetInterface.

void Dune::Fem::LocalInterface< EntityType >::remove ( const OpType &  op)
inlineinherited
bool Dune::Fem::ManagedIndexSetInterface::removeReference ( )
inlineinherited

decrease reference counter and return true if zero reached

template<class IndexSetType , class EntityType >
void Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::resize ( )
inlinevirtual

wrap resize of index set

Implements Dune::Fem::ManagedIndexSetInterface.

template<class IndexSetType , class EntityType >
virtual void Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::restore ( )
inlinevirtual

:: restore

:: restore

Implements Dune::Fem::ManagedIndexSetInterface.

template<class DiscrOpType >
void Dune::Fem::ObjPointerStorage::saveObjPointer ( DiscrOpType *  discrOp)
inlineinherited

Store new generated DiscreteOperator Pointer.

References Dune::Fem::ObjPointer< ObjType >::next.

template<class DiscrOpType , class LocalOpType >
void Dune::Fem::ObjPointerStorage::saveObjPointer ( DiscrOpType *  discrOp,
LocalOpType *  lop 
)
inlineinherited

Store new generated DiscreteOperator Pointer and the LocalOperator pointer

template<class IndexSetType , class EntityType >
virtual void Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::write ( XDRFileOutStream out) const
inlinevirtual

new write method

Implements Dune::Fem::ManagedIndexSetInterface.

template<class IndexSetType , class EntityType >
virtual void Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::write ( StandardOutStream out) const
inlinevirtual

new write method

Implements Dune::Fem::ManagedIndexSetInterface.

Member Data Documentation

template<class IndexSetType , class EntityType >
IndexSetType& Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::indexSet_
protected
template<class IndexSetType , class EntityType >
LocalIndexSetObjectsType& Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::indexSetList_
protected
template<class IndexSetType , class EntityType >
InsertIndicesToSet<IndexSetType, EntityType> Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::insertIdxObj_
protected
template<class IndexSetType , class EntityType >
LocalIndexSetObjectsType& Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::insertList_
protected
size_t Dune::Fem::ManagedIndexSetInterface::referenceCounter_
protectedinherited
template<class IndexSetType , class EntityType >
RemoveIndicesFromSet<IndexSetType, EntityType> Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::removeIdxObj_
protected
template<class IndexSetType , class EntityType >
LocalIndexSetObjectsType& Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::removeList_
protected
IdentifierType Dune::Fem::ManagedIndexSetInterface::setPtr_
protectedinherited

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