dune-fem 2.8.0
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
DofManager
Collaboration diagram for DofManager:

Classes

class  Dune::Fem::DofManager< Grid >
 
class  Dune::Fem::DofManagerFactory< DofManagerImp >
 Singleton provider for the DofManager. More...
 
class  Dune::Fem::ManagedIndexSetInterface
 
class  Dune::Fem::RemoveIndicesFromSet< IndexSetType, EntityType >
 
class  Dune::Fem::InsertIndicesToSet< IndexSetType, EntityType >
 
class  Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >
 
class  Dune::Fem::DofStorageInterface
 Interface class for a dof storage object to be stored in discrete functions. More...
 
class  Dune::Fem::ManagedDofStorageInterface
 Interface class for a dof storage object that can be managed (resized and compressed) by the DofManager. More...
 
class  Dune::Fem::ResizeMemoryObjects< MemObjectType >
 
class  Dune::Fem::ReserveMemoryObjects< MemObjectType >
 
class  Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >
 
class  Dune::Fem::ManagedDofStorage< GridImp, MapperType, DofArrayType >
 
class  Dune::Fem::IndexSetRestrictProlong< DofManagerType, RestrictProlongIndexSetType, doResize >
 
class  Dune::Fem::EmptyIndexSetRestrictProlong
 
class  Dune::Fem::DofManError
 
class  Dune::Fem::DofIteratorInterface< DofImp, DofIteratorImp >
 interface for DoF iterators of discrete functions More...
 
class  Dune::Fem::DofIteratorDefault< DofImp, DofIteratorImp >
 default implementation of DofManagerInterface More...
 

Typedefs

typedef const void * Dune::Fem::ManagedIndexSetInterface::IdentifierType
 
typedef ManagedIndexSetInterface Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::BaseType
 type of base class
 
typedef ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType > Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::ThisType
 
typedef DofManager< GridImp > Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::DofManagerType
 
typedef ResizeMemoryObjects< ThisTypeDune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::ResizeMemoryObjectType
 
typedef ReserveMemoryObjects< ThisTypeDune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::ReserveMemoryObjectType
 
typedef Grid Dune::Fem::DofManager< Grid >::GridType
 type of Grid this DofManager belongs to
 
typedef GridObjectStreamTraits< GridType >::InStreamType Dune::Fem::DofManager< Grid >::XtractStreamImplType
 
typedef GridObjectStreamTraits< GridType >::OutStreamType Dune::Fem::DofManager< Grid >::InlineStreamImplType
 
typedef MessageBufferIF< XtractStreamImplTypeDune::Fem::DofManager< Grid >::XtractStreamType
 
typedef MessageBufferIF< InlineStreamImplTypeDune::Fem::DofManager< Grid >::InlineStreamType
 
typedef DataCollectorInterface< GridType, XtractStreamTypeDune::Fem::DofManager< Grid >::DataXtractorType
 
typedef DataCollectorInterface< GridType, InlineStreamTypeDune::Fem::DofManager< Grid >::DataInlinerType
 
typedef GridType::template Codim< 0 >::Entity Dune::Fem::DofManager< Grid >::ElementType
 
typedef IndexSetRestrictProlong< ThisType, LocalIndexSetObjectsType, true > Dune::Fem::DofManager< Grid >::NewIndexSetRestrictProlongType
 
typedef IndexSetRestrictProlong< ThisType, LocalIndexSetObjectsType, false > Dune::Fem::DofManager< Grid >::IndexSetRestrictProlongNoResizeType
 
typedef EmptyIndexSetRestrictProlong Dune::Fem::DofManager< Grid >::IndexSetRestrictProlongType
 
typedef DofManagerImp Dune::Fem::DofManagerFactory< DofManagerImp >::DofManagerType
 
typedef DofManagerType::GridType Dune::Fem::DofManagerFactory< DofManagerImp >::GridType
 

Functions

template<class IndexSet >
 Dune::Fem::ManagedIndexSetInterface::ManagedIndexSetInterface (const IndexSet &iset)
 
virtual Dune::Fem::ManagedIndexSetInterface::~ManagedIndexSetInterface ()=default
 
virtual void Dune::Fem::ManagedIndexSetInterface::resize ()=0
 resize of index set
 
virtual bool Dune::Fem::ManagedIndexSetInterface::compress ()=0
 compress of index set
 
virtual void Dune::Fem::ManagedIndexSetInterface::backup () const =0
 :: backup
 
virtual void Dune::Fem::ManagedIndexSetInterface::restore ()=0
 :: restore
 
virtual void Dune::Fem::ManagedIndexSetInterface::write (StandardOutStream &out) const =0
 new read/write methods using binary streams
 
virtual void Dune::Fem::ManagedIndexSetInterface::read (StandardInStream &out)=0
 
void Dune::Fem::ManagedIndexSetInterface::addReference ()
 increase reference counter
 
bool Dune::Fem::ManagedIndexSetInterface::removeReference ()
 decrease reference counter and return true if zero reached
 
template<class IndexSet >
bool Dune::Fem::ManagedIndexSetInterface::equals (const IndexSet &iset) const
 
 Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::ManagedIndexSet (const IndexSetType &iset, LocalIndexSetObjectsType &insertList, LocalIndexSetObjectsType &removeList)
 Constructor of MemObject, only to call from DofManager.
 
 Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::~ManagedIndexSet ()
 destructor
 
void Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::resize ()
 wrap resize of index set
 
bool Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::compress ()
 wrap compress of index set
 
virtual void Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::backup () const
 :: backup
 
virtual void Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::restore ()
 :: restore
 
virtual void Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::read (StandardInStream &in)
 new write method
 
virtual void Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::write (StandardOutStream &out) const
 new write method
 
 Dune::Fem::DofStorageInterface::DofStorageInterface ()=default
 do not allow to create explicit instances
 
virtual Dune::Fem::DofStorageInterface::~DofStorageInterface ()=default
 destructor
 
virtual void Dune::Fem::DofStorageInterface::enableDofCompression ()
 enable dof compression for dof storage (default is empty)
 
virtual int Dune::Fem::DofStorageInterface::size () const =0
 size of space, i.e. mapper.size()
 
 Dune::Fem::ManagedDofStorageInterface::ManagedDofStorageInterface ()=default
 do not allow to create explicit instances
 
virtual Dune::Fem::ManagedDofStorageInterface::~ManagedDofStorageInterface ()=default
 destructor
 
virtual void Dune::Fem::ManagedDofStorageInterface::resize (const bool enlargeOnly)=0
 resize memory
 
virtual void Dune::Fem::ManagedDofStorageInterface::reserve (int newSize)=0
 resize memory
 
virtual void Dune::Fem::ManagedDofStorageInterface::dofCompress (const bool clearResizedArrays)=0
 
virtual size_t Dune::Fem::ManagedDofStorageInterface::usedMemorySize () const =0
 return size of mem used by MemObject
 
 Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::ManagedDofStorageImplementation (const ManagedDofStorageImplementation &)=delete
 
 Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::ManagedDofStorageImplementation (const GridImp &grid, const MapperType &mapper, DofArrayType &array)
 Constructor of ManagedDofStorageImplementation, only to call from derived classes.
 
 Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::~ManagedDofStorageImplementation ()
 destructor deleting MemObject from resize and reserve List
 
ResizeMemoryObjectTypeDune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resizeMemoryObject ()
 return object that calls resize of this memory object
 
ReserveMemoryObjectTypeDune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::reserveMemoryObject ()
 return object that calls reserve of this memory object
 
int Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::size () const
 return size of underlying array
 
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resize (const bool enlargeOnly)
 resize the memory with the new size
 
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::reserve (const int needed)
 reserve memory for what is comming
 
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::dofCompress (const bool clearResizedArrays)
 copy the dof from the rear section of the vector to the holes
 
size_t Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::usedMemorySize () const
 return used memory size
 
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::enableDofCompression ()
 enable dof compression for this MemObject
 
DofArrayType & Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::getArray ()
 return reference to array for DiscreteFunction
 
MapperType & Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::mapper () const
 
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resize (std::false_type, const bool enlargeOnly)
 
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resize (std::true_type, const bool enlargeOnly)
 
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resizeAndMoveToRear ()
 
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::moveToFront (const int oldSize, const int block)
 move block to front again
 
 Dune::Fem::ManagedDofStorage< GridImp, MapperType, DofArrayType >::ManagedDofStorage (const GridImp &grid, const MapperType &mapper)
 Constructor of ManagedDofStorage.
 
template<class DofStorageType , class GridType , class MapperType >
static std::pair< DofStorageInterface *, DofStorageType * > Dune::Fem::allocateManagedDofStorage (const GridType &grid, const MapperType &mapper, const DofStorageType *=0)
 default implementation for creating a managed dof storage
 
 Dune::Fem::RemoveIndicesFromSet< IndexSetType, EntityType >::RemoveIndicesFromSet (IndexSetType &iset)
 
void Dune::Fem::RemoveIndicesFromSet< IndexSetType, EntityType >::apply (EntityType &entity)
 apply wraps the removeEntity Method of the index set
 
 Dune::Fem::InsertIndicesToSet< IndexSetType, EntityType >::InsertIndicesToSet (IndexSetType &iset)
 
void Dune::Fem::InsertIndicesToSet< IndexSetType, EntityType >::apply (EntityType &entity)
 apply wraps the insertEntity method of the index set
 
 Dune::Fem::ResizeMemoryObjects< MemObjectType >::ResizeMemoryObjects (MemObjectType &mo)
 
 Dune::Fem::ResizeMemoryObjects< MemObjectType >::ResizeMemoryObjects (const ResizeMemoryObjects &org)
 
void Dune::Fem::ResizeMemoryObjects< MemObjectType >::apply (int &enlargeOnly)
 
 Dune::Fem::ReserveMemoryObjects< MemObjectType >::ReserveMemoryObjects (MemObjectType &mo)
 
void Dune::Fem::ReserveMemoryObjects< MemObjectType >::apply (int &chunkSize)
 
 Dune::Fem::IndexSetRestrictProlong< DofManagerType, RestrictProlongIndexSetType, doResize >::IndexSetRestrictProlong (DofManagerType &dm, RestrictProlongIndexSetType &is, RestrictProlongIndexSetType &rm)
 
template<class EntityType >
void Dune::Fem::IndexSetRestrictProlong< DofManagerType, RestrictProlongIndexSetType, doResize >::restrictLocal (const EntityType &father, const EntityType &son, bool initialize) const
 restrict data to father and resize memory if doResize is true
 
template<class EntityType >
void Dune::Fem::IndexSetRestrictProlong< DofManagerType, RestrictProlongIndexSetType, doResize >::restrictFinalize (const EntityType &father) const
 
template<class EntityType >
void Dune::Fem::IndexSetRestrictProlong< DofManagerType, RestrictProlongIndexSetType, doResize >::prolongLocal (const EntityType &father, const EntityType &son, bool initialize) const
 prolong data to children and resize memory if doResize is true
 
 Dune::Fem::EmptyIndexSetRestrictProlong::EmptyIndexSetRestrictProlong ()
 
template<class EntityType >
void Dune::Fem::EmptyIndexSetRestrictProlong::restrictLocal (EntityType &father, EntityType &son, bool initialize) const
 restrict data to father and resize memory if doResize is true
 
template<class EntityType >
void Dune::Fem::EmptyIndexSetRestrictProlong::prolongLocal (EntityType &father, EntityType &son, bool initialize) const
 prolong data to children and resize memory if doResize is true
 
 Dune::Fem::DofManager< Grid >::DofManager (const ThisType &)=delete
 
double Dune::Fem::DofManager< Grid >::memoryFactor () const
 return factor to over estimate new memory allocation
 
template<class IndexSetType >
void Dune::Fem::DofManager< Grid >::addIndexSet (const IndexSetType &iset)
 add index set to dof manager's list of index sets
 
template<class IndexSetType >
void Dune::Fem::DofManager< Grid >::removeIndexSet (const IndexSetType &iset)
 removed index set from dof manager's list of index sets
 
template<class ManagedDofStorageImp >
void Dune::Fem::DofManager< Grid >::addDofStorage (ManagedDofStorageImp &dofStorage)
 add a managed dof storage to the dof manager.
 
template<class ManagedDofStorageImp >
void Dune::Fem::DofManager< Grid >::removeDofStorage (ManagedDofStorageImp &dofStorage)
 remove a managed dof storage from the dof manager.
 
NewIndexSetRestrictProlongTypeDune::Fem::DofManager< Grid >::indexSetRestrictProlong ()
 returns the index set restriction and prolongation operator
 
IndexSetRestrictProlongNoResizeTypeDune::Fem::DofManager< Grid >::indexSetRestrictProlongNoResize ()
 returns the index set restriction and prolongation operator
 
bool Dune::Fem::DofManager< Grid >::hasIndexSets () const
 if dofmanagers list is not empty return true
 
size_t Dune::Fem::DofManager< Grid >::usedMemorySize () const
 return used memory size of all MemObjects in bytes.
 
void Dune::Fem::DofManager< Grid >::resizeForRestrict ()
 resize memory before data restriction during grid adaptation is done.
 
void Dune::Fem::DofManager< Grid >::reserveMemory (int nsize, bool dummy=false)
 reserve memory for at least nsize elements, dummy is needed for dune-grid ALUGrid version
 
int Dune::Fem::DofManager< Grid >::sequence () const
 return number of sequence, if dofmanagers memory was changed by calling some method like resize, then also this number will increase
 
void Dune::Fem::DofManager< Grid >::resize ()
 Resize index sets and memory due to what the mapper has as new size.
 
void Dune::Fem::DofManager< Grid >::insertEntity (ConstElementType &element)
 Inserts entity to all index sets added to dof manager.
 
void Dune::Fem::DofManager< Grid >::removeEntity (ConstElementType &element)
 Removes entity from all index sets added to dof manager.
 
void Dune::Fem::DofManager< Grid >::resizeMemory ()
 resize the MemObject if necessary
 
void Dune::Fem::DofManager< Grid >::enlargeMemory ()
 resize the MemObject if necessary
 
void Dune::Fem::DofManager< Grid >::incrementSequenceNumber ()
 increase the DofManagers internal sequence number
 
void Dune::Fem::DofManager< Grid >::compress ()
 Compress all data that is hold by this dofmanager.
 
bool Dune::Fem::DofManager< Grid >::notifyGlobalChange (const bool wasChanged) const
 communicate new sequence number
 
template<class DataCollType >
void Dune::Fem::DofManager< Grid >::addDataInliner (DataCollType &d)
 add data handler for data inlining to dof manager
 
void Dune::Fem::DofManager< Grid >::clearDataInliners ()
 clear data inliner list
 
template<class DataCollType >
void Dune::Fem::DofManager< Grid >::addDataXtractor (DataCollType &d)
 add data handler for data xtracting to dof manager
 
void Dune::Fem::DofManager< Grid >::clearDataXtractors ()
 clear data xtractor list
 
bool Dune::Fem::DofManager< Grid >::contains (const int dim, const int codim) const
 the dof manager only transfers element data during load balancing
 
bool Dune::Fem::DofManager< Grid >::fixedSize (const int dim, const int codim) const
 fixed size is false
 
template<class Entity >
size_t Dune::Fem::DofManager< Grid >::size (const Entity &) const
 for convenience
 
void Dune::Fem::DofManager< Grid >::gather (InlineStreamType &str, ConstElementType &element) const
 packs all data attached to this entity
 
template<class MessageBuffer , class Entity >
void Dune::Fem::DofManager< Grid >::gather (MessageBuffer &str, const Entity &entity) const
 
void Dune::Fem::DofManager< Grid >::scatter (XtractStreamType &str, ConstElementType &element, size_t)
 unpacks all data attached of this entity from message buffer
 
template<class MessageBuffer , class Entity >
void Dune::Fem::DofManager< Grid >::scatter (MessageBuffer &str, const Entity &entity, size_t)
 unpacks all data of this entity from message buffer
 
void Dune::Fem::DofManager< Grid >::backup () const
 :: backup
 
void Dune::Fem::DofManager< Grid >::restore ()
 :: restore
 
template<class OutStream >
void Dune::Fem::DofManager< Grid >::write (OutStream &out) const
 write all index sets to a given stream
 
template<class InStream >
void Dune::Fem::DofManager< Grid >::read (InStream &in)
 read all index sets from a given stream
 
static ThisTypeDune::Fem::DofManager< Grid >::instance (const GridType &grid)
 obtain a reference to the DofManager for a given grid
 
static DofManagerTypeDune::Fem::DofManagerFactory< DofManagerImp >::instance (const GridType &grid)
 obtain a reference to the DofManager for a given grid
 
static bool Dune::Fem::DofManagerFactory< DofManagerImp >::writeDofManagerNew (const GridType &grid, const std ::string &filename, int timestep)
 writes DofManager of corresponding grid, when DofManager exists
 
static bool Dune::Fem::DofManagerFactory< DofManagerImp >::readDofManagerNew (const GridType &grid, const std ::string &filename, int timestep)
 reads DofManager of corresponding grid, when DofManager exists
 
static void Dune::Fem::DofManagerFactory< DofManagerImp >::deleteDofManager (DofManagerType &dm)
 delete the dof manager that belong to the given grid
 

Variables

IdentifierType Dune::Fem::ManagedIndexSetInterface::setPtr_
 
size_t Dune::Fem::ManagedIndexSetInterface::referenceCounter_
 
IndexSetType & Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::indexSet_
 
InsertIndicesToSet< IndexSetType, EntityType > Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::insertIdxObj_
 
RemoveIndicesFromSet< IndexSetType, EntityType > Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::removeIdxObj_
 
LocalIndexSetObjectsTypeDune::Fem::ManagedIndexSet< IndexSetType, EntityType >::insertList_
 
LocalIndexSetObjectsTypeDune::Fem::ManagedIndexSet< IndexSetType, EntityType >::removeList_
 
DofManagerTypeDune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::dm_
 
MapperType & Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::mapper_
 
DofArrayType & Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::array_
 
ResizeMemoryObjectType Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resizeMemObj_
 
ReserveMemoryObjectType Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::reserveMemObj_
 
bool Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::dataCompressionEnabled_
 
DofArrayType Dune::Fem::ManagedDofStorage< GridImp, MapperType, DofArrayType >::myArray_
 

Detailed Description

Typedef Documentation

◆ BaseType

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

type of base class

◆ DataInlinerType

template<class Grid >
typedef DataCollectorInterface<GridType, InlineStreamType > Dune::Fem::DofManager< Grid >::DataInlinerType

◆ DataXtractorType

template<class Grid >
typedef DataCollectorInterface<GridType, XtractStreamType > Dune::Fem::DofManager< Grid >::DataXtractorType

◆ DofManagerType [1/2]

template<class GridImp , class MapperType , class DofArrayType >
typedef DofManager<GridImp> Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::DofManagerType
protected

◆ DofManagerType [2/2]

template<class DofManagerImp >
typedef DofManagerImp Dune::Fem::DofManagerFactory< DofManagerImp >::DofManagerType

◆ ElementType

template<class Grid >
typedef GridType::template Codim<0>::Entity Dune::Fem::DofManager< Grid >::ElementType

◆ GridType [1/2]

template<class Grid >
typedef Grid Dune::Fem::DofManager< Grid >::GridType

type of Grid this DofManager belongs to

◆ GridType [2/2]

template<class DofManagerImp >
typedef DofManagerType::GridType Dune::Fem::DofManagerFactory< DofManagerImp >::GridType

◆ IdentifierType

◆ IndexSetRestrictProlongNoResizeType

template<class Grid >
typedef IndexSetRestrictProlong< ThisType, LocalIndexSetObjectsType , false > Dune::Fem::DofManager< Grid >::IndexSetRestrictProlongNoResizeType

◆ IndexSetRestrictProlongType

template<class Grid >
typedef EmptyIndexSetRestrictProlong Dune::Fem::DofManager< Grid >::IndexSetRestrictProlongType

◆ InlineStreamImplType

template<class Grid >
typedef GridObjectStreamTraits<GridType>::OutStreamType Dune::Fem::DofManager< Grid >::InlineStreamImplType

◆ InlineStreamType

template<class Grid >
typedef MessageBufferIF< InlineStreamImplType > Dune::Fem::DofManager< Grid >::InlineStreamType

◆ NewIndexSetRestrictProlongType

template<class Grid >
typedef IndexSetRestrictProlong< ThisType, LocalIndexSetObjectsType , true > Dune::Fem::DofManager< Grid >::NewIndexSetRestrictProlongType

◆ ReserveMemoryObjectType

template<class GridImp , class MapperType , class DofArrayType >
typedef ReserveMemoryObjects< ThisType > Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::ReserveMemoryObjectType
protected

◆ ResizeMemoryObjectType

template<class GridImp , class MapperType , class DofArrayType >
typedef ResizeMemoryObjects< ThisType > Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::ResizeMemoryObjectType
protected

◆ ThisType

template<class GridImp , class MapperType , class DofArrayType >
typedef ManagedDofStorageImplementation<GridImp, MapperType , DofArrayType> Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::ThisType
protected

◆ XtractStreamImplType

template<class Grid >
typedef GridObjectStreamTraits<GridType>::InStreamType Dune::Fem::DofManager< Grid >::XtractStreamImplType

◆ XtractStreamType

template<class Grid >
typedef MessageBufferIF< XtractStreamImplType > Dune::Fem::DofManager< Grid >::XtractStreamType

Function Documentation

◆ addDataInliner()

template<class Grid >
template<class DataCollType >
void Dune::Fem::DofManager< Grid >::addDataInliner ( DataCollType &  d)
inline

add data handler for data inlining to dof manager

◆ addDataXtractor()

template<class Grid >
template<class DataCollType >
void Dune::Fem::DofManager< Grid >::addDataXtractor ( DataCollType &  d)
inline

add data handler for data xtracting to dof manager

◆ addDofStorage()

template<class GridType >
template<class ManagedDofStorageImp >
void Dune::Fem::DofManager< GridType >::addDofStorage ( ManagedDofStorageImp &  dofStorage)

add a managed dof storage to the dof manager.

Parameters
dofStoragedof storage to add which must fulfill the ManagedDofStorageInterface

◆ addIndexSet()

template<class GridType >
template<class IndexSetType >
void Dune::Fem::DofManager< GridType >::addIndexSet ( const IndexSetType &  iset)
inline

add index set to dof manager's list of index sets

During adaptation, all index sets known to the dof manager are notified of the changes.

To register an index set with the dof manager, it has to satisfy the following interface:

void insertEntity ( const Element & );
void removeEntity ( const Element & );
void resize();
bool compress();
void resize()
Resize index sets and memory due to what the mapper has as new size.
Definition: dofmanager.hh:983
void insertEntity(ConstElementType &element)
Inserts entity to all index sets added to dof manager.
Definition: dofmanager.hh:991
void read(InStream &in)
read all index sets from a given stream
Definition: dofmanager.hh:1197
void compress()
Compress all data that is hold by this dofmanager.
Definition: dofmanager.hh:1038
void removeEntity(ConstElementType &element)
Removes entity from all index sets added to dof manager.
Definition: dofmanager.hh:1001
void write(OutStream &out) const
write all index sets to a given stream
Definition: dofmanager.hh:1186
abstract interface for an output stream
Definition: streams.hh:46
abstract interface for an input stream
Definition: streams.hh:179
Parameters
[in]isetindex set to add to list

◆ addReference()

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

increase reference counter

◆ allocateManagedDofStorage()

template<class DofStorageType , class GridType , class MapperType >
static std::pair< DofStorageInterface *, DofStorageType * > Dune::Fem::allocateManagedDofStorage ( const GridType &  grid,
const MapperType &  mapper,
const DofStorageType *  = 0 
)
inlinestatic

default implementation for creating a managed dof storage

◆ apply() [1/4]

template<class IndexSetType , class EntityType >
void Dune::Fem::RemoveIndicesFromSet< IndexSetType, EntityType >::apply ( EntityType &  entity)
inline

apply wraps the removeEntity Method of the index set

◆ apply() [2/4]

template<class IndexSetType , class EntityType >
void Dune::Fem::InsertIndicesToSet< IndexSetType, EntityType >::apply ( EntityType &  entity)
inline

apply wraps the insertEntity method of the index set

◆ apply() [3/4]

template<class MemObjectType >
void Dune::Fem::ReserveMemoryObjects< MemObjectType >::apply ( int &  chunkSize)
inline

◆ apply() [4/4]

template<class MemObjectType >
void Dune::Fem::ResizeMemoryObjects< MemObjectType >::apply ( int &  enlargeOnly)
inline

◆ backup() [1/3]

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

:: backup

:: backup

Implements Dune::Fem::ManagedIndexSetInterface.

◆ backup() [2/3]

template<class Grid >
void Dune::Fem::DofManager< Grid >::backup ( ) const
inline

:: backup

:: backup

◆ backup() [3/3]

virtual void Dune::Fem::ManagedIndexSetInterface::backup ( ) const
pure virtual

:: backup

:: backup

Implemented in Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >.

◆ clearDataInliners()

template<class Grid >
void Dune::Fem::DofManager< Grid >::clearDataInliners ( )
inline

clear data inliner list

◆ clearDataXtractors()

template<class Grid >
void Dune::Fem::DofManager< Grid >::clearDataXtractors ( )
inline

clear data xtractor list

◆ compress() [1/3]

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

wrap compress of index set

Implements Dune::Fem::ManagedIndexSetInterface.

◆ compress() [2/3]

template<class Grid >
void Dune::Fem::DofManager< Grid >::compress ( )
inline

Compress all data that is hold by this dofmanager.

Note
This will increase the sequence counter by 1.

◆ compress() [3/3]

virtual bool Dune::Fem::ManagedIndexSetInterface::compress ( )
pure virtual

compress of index set

Implemented in Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >.

◆ contains()

template<class Grid >
bool Dune::Fem::DofManager< Grid >::contains ( const int  dim,
const int  codim 
) const
inline

the dof manager only transfers element data during load balancing

◆ deleteDofManager()

template<class DofManagerImp >
static void Dune::Fem::DofManagerFactory< DofManagerImp >::deleteDofManager ( DofManagerType dm)
inlinestatic

delete the dof manager that belong to the given grid

◆ dofCompress() [1/2]

template<class GridImp , class MapperType , class DofArrayType >
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::dofCompress ( const bool  clearResizedArrays)
inlinevirtual

copy the dof from the rear section of the vector to the holes

Implements Dune::Fem::ManagedDofStorageInterface.

◆ dofCompress() [2/2]

virtual void Dune::Fem::ManagedDofStorageInterface::dofCompress ( const bool  clearResizedArrays)
pure virtual

compressed the underlying dof vector and clear the array if it's temporary and clearresizedarrays is enabled (default)

Implemented in Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >, and Dune::Fem::ManagedDofStorageImplementation< GridType, BlockMapperType, DofVectorType >.

◆ DofManager()

template<class Grid >
Dune::Fem::DofManager< Grid >::DofManager ( const ThisType )
delete

◆ DofStorageInterface()

Dune::Fem::DofStorageInterface::DofStorageInterface ( )
protecteddefault

do not allow to create explicit instances

◆ EmptyIndexSetRestrictProlong()

Dune::Fem::EmptyIndexSetRestrictProlong::EmptyIndexSetRestrictProlong ( )
inline

◆ enableDofCompression() [1/2]

virtual void Dune::Fem::DofStorageInterface::enableDofCompression ( )
inlinevirtual

◆ enableDofCompression() [2/2]

template<class GridImp , class MapperType , class DofArrayType >
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::enableDofCompression ( )
inlinevirtual

enable dof compression for this MemObject

Reimplemented from Dune::Fem::DofStorageInterface.

◆ enlargeMemory()

template<class Grid >
void Dune::Fem::DofManager< Grid >::enlargeMemory ( )
inline

resize the MemObject if necessary

◆ equals()

template<class IndexSet >
bool Dune::Fem::ManagedIndexSetInterface::equals ( const IndexSet iset) const
inline

◆ fixedSize()

template<class Grid >
bool Dune::Fem::DofManager< Grid >::fixedSize ( const int  dim,
const int  codim 
) const
inline

fixed size is false

◆ gather() [1/2]

template<class Grid >
void Dune::Fem::DofManager< Grid >::gather ( InlineStreamType str,
ConstElementType &  element 
) const
inline

packs all data attached to this entity

◆ gather() [2/2]

template<class Grid >
template<class MessageBuffer , class Entity >
void Dune::Fem::DofManager< Grid >::gather ( MessageBuffer &  str,
const Entity &  entity 
) const
inline

◆ getArray()

template<class GridImp , class MapperType , class DofArrayType >
DofArrayType & Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::getArray ( )
inline

return reference to array for DiscreteFunction

◆ hasIndexSets()

template<class Grid >
bool Dune::Fem::DofManager< Grid >::hasIndexSets ( ) const
inline

if dofmanagers list is not empty return true

◆ incrementSequenceNumber()

template<class Grid >
void Dune::Fem::DofManager< Grid >::incrementSequenceNumber ( )
inline

increase the DofManagers internal sequence number

Note
This will increase the sequence counter by 1.

◆ indexSetRestrictProlong()

template<class Grid >
NewIndexSetRestrictProlongType & Dune::Fem::DofManager< Grid >::indexSetRestrictProlong ( )
inline

returns the index set restriction and prolongation operator

◆ IndexSetRestrictProlong()

template<class DofManagerType , class RestrictProlongIndexSetType , bool doResize>
Dune::Fem::IndexSetRestrictProlong< DofManagerType, RestrictProlongIndexSetType, doResize >::IndexSetRestrictProlong ( DofManagerType &  dm,
RestrictProlongIndexSetType &  is,
RestrictProlongIndexSetType &  rm 
)
inline

◆ indexSetRestrictProlongNoResize()

template<class Grid >
IndexSetRestrictProlongNoResizeType & Dune::Fem::DofManager< Grid >::indexSetRestrictProlongNoResize ( )
inline

returns the index set restriction and prolongation operator

◆ insertEntity()

template<class Grid >
void Dune::Fem::DofManager< Grid >::insertEntity ( ConstElementType &  element)
inline

Inserts entity to all index sets added to dof manager.

◆ InsertIndicesToSet()

template<class IndexSetType , class EntityType >
Dune::Fem::InsertIndicesToSet< IndexSetType, EntityType >::InsertIndicesToSet ( IndexSetType &  iset)
inlineexplicit

◆ instance() [1/2]

template<class Grid >
static ThisType & Dune::Fem::DofManager< Grid >::instance ( const GridType grid)
inlinestatic

obtain a reference to the DofManager for a given grid

Parameters
[in]gridgrid for which the DofManager is desired
Returns
a reference to the singleton instance of the DofManager

◆ instance() [2/2]

template<class DofManagerImp >
static DofManagerType & Dune::Fem::DofManagerFactory< DofManagerImp >::instance ( const GridType grid)
inlinestaticprotected

obtain a reference to the DofManager for a given grid

Parameters
[in]gridgrid for which the DofManager is desired
Returns
a reference to the singleton instance of the DofManager

◆ ManagedDofStorage()

template<class GridImp , class MapperType , class DofArrayType >
Dune::Fem::ManagedDofStorage< GridImp, MapperType, DofArrayType >::ManagedDofStorage ( const GridImp &  grid,
const MapperType &  mapper 
)
inline

Constructor of ManagedDofStorage.

◆ ManagedDofStorageImplementation() [1/2]

template<class GridImp , class MapperType , class DofArrayType >
Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::ManagedDofStorageImplementation ( const GridImp &  grid,
const MapperType &  mapper,
DofArrayType &  array 
)
inlineprotected

Constructor of ManagedDofStorageImplementation, only to call from derived classes.

◆ ManagedDofStorageImplementation() [2/2]

template<class GridImp , class MapperType , class DofArrayType >
Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::ManagedDofStorageImplementation ( const ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType > &  )
delete

◆ ManagedDofStorageInterface()

Dune::Fem::ManagedDofStorageInterface::ManagedDofStorageInterface ( )
protecteddefault

do not allow to create explicit instances

◆ ManagedIndexSet()

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

Constructor of MemObject, only to call from DofManager.

◆ ManagedIndexSetInterface()

template<class IndexSet >
Dune::Fem::ManagedIndexSetInterface::ManagedIndexSetInterface ( const IndexSet iset)
inlineexplicitprotected

◆ mapper()

template<class GridImp , class MapperType , class DofArrayType >
MapperType & Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::mapper ( ) const
inlineprotected

◆ memoryFactor()

template<class Grid >
double Dune::Fem::DofManager< Grid >::memoryFactor ( ) const
inline

return factor to over estimate new memory allocation

◆ moveToFront()

template<class GridImp , class MapperType , class DofArrayType >
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::moveToFront ( const int  oldSize,
const int  block 
)
inlineprotected

move block to front again

◆ notifyGlobalChange()

template<class Grid >
bool Dune::Fem::DofManager< Grid >::notifyGlobalChange ( const bool  wasChanged) const
inline

communicate new sequence number

◆ prolongLocal() [1/2]

template<class DofManagerType , class RestrictProlongIndexSetType , bool doResize>
template<class EntityType >
void Dune::Fem::IndexSetRestrictProlong< DofManagerType, RestrictProlongIndexSetType, doResize >::prolongLocal ( const EntityType &  father,
const EntityType &  son,
bool  initialize 
) const
inline

prolong data to children and resize memory if doResize is true

◆ prolongLocal() [2/2]

template<class EntityType >
void Dune::Fem::EmptyIndexSetRestrictProlong::prolongLocal ( EntityType &  father,
EntityType &  son,
bool  initialize 
) const
inline

prolong data to children and resize memory if doResize is true

◆ read() [1/3]

template<class Grid >
template<class InStream >
void Dune::Fem::DofManager< Grid >::read ( InStream &  in)
inline

read all index sets from a given stream

Parameters
[in]instream to read from

◆ read() [2/3]

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

new write method

Implements Dune::Fem::ManagedIndexSetInterface.

◆ read() [3/3]

virtual void Dune::Fem::ManagedIndexSetInterface::read ( StandardInStream out)
pure virtual

◆ readDofManagerNew()

template<class DofManagerImp >
static bool Dune::Fem::DofManagerFactory< DofManagerImp >::readDofManagerNew ( const GridType grid,
const std ::string &  filename,
int  timestep 
)
inlinestaticprotected

reads DofManager of corresponding grid, when DofManager exists

◆ removeDofStorage()

template<class GridType >
template<class ManagedDofStorageImp >
void Dune::Fem::DofManager< GridType >::removeDofStorage ( ManagedDofStorageImp &  dofStorage)

remove a managed dof storage from the dof manager.

Parameters
dofStoragedof storage to remove which must fulfill the ManagedDofStorageInterface

◆ removeEntity()

template<class Grid >
void Dune::Fem::DofManager< Grid >::removeEntity ( ConstElementType &  element)
inline

Removes entity from all index sets added to dof manager.

◆ removeIndexSet()

template<class GridType >
template<class IndexSetType >
void Dune::Fem::DofManager< GridType >::removeIndexSet ( const IndexSetType &  iset)
inline

removed index set from dof manager's list of index sets

During adaptation, all index sets known to the dof manager are notified of the changes.

Parameters
[in]isetindex set to add to list

◆ RemoveIndicesFromSet()

template<class IndexSetType , class EntityType >
Dune::Fem::RemoveIndicesFromSet< IndexSetType, EntityType >::RemoveIndicesFromSet ( IndexSetType &  iset)
inlineexplicit

◆ removeReference()

bool Dune::Fem::ManagedIndexSetInterface::removeReference ( )
inline

decrease reference counter and return true if zero reached

◆ reserve() [1/2]

template<class GridImp , class MapperType , class DofArrayType >
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::reserve ( const int  needed)
inlinevirtual

reserve memory for what is comming

Implements Dune::Fem::ManagedDofStorageInterface.

◆ reserve() [2/2]

virtual void Dune::Fem::ManagedDofStorageInterface::reserve ( int  newSize)
pure virtual

◆ reserveMemory()

template<class Grid >
void Dune::Fem::DofManager< Grid >::reserveMemory ( int  nsize,
bool  dummy = false 
)
inline

reserve memory for at least nsize elements, dummy is needed for dune-grid ALUGrid version

◆ reserveMemoryObject()

template<class GridImp , class MapperType , class DofArrayType >
ReserveMemoryObjectType & Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::reserveMemoryObject ( )
inline

return object that calls reserve of this memory object

◆ ReserveMemoryObjects()

template<class MemObjectType >
Dune::Fem::ReserveMemoryObjects< MemObjectType >::ReserveMemoryObjects ( MemObjectType &  mo)
inline

◆ resize() [1/7]

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

wrap resize of index set

Implements Dune::Fem::ManagedIndexSetInterface.

◆ resize() [2/7]

template<class Grid >
void Dune::Fem::DofManager< Grid >::resize ( )
inline

Resize index sets and memory due to what the mapper has as new size.

Note
This will increase the sequence counter by 1.

◆ resize() [3/7]

virtual void Dune::Fem::ManagedIndexSetInterface::resize ( )
pure virtual

resize of index set

Implemented in Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >.

◆ resize() [4/7]

template<class GridImp , class MapperType , class DofArrayType >
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resize ( const bool  enlargeOnly)
inlinevirtual

resize the memory with the new size

Implements Dune::Fem::ManagedDofStorageInterface.

◆ resize() [5/7]

virtual void Dune::Fem::ManagedDofStorageInterface::resize ( const bool  enlargeOnly)
pure virtual

◆ resize() [6/7]

template<class GridImp , class MapperType , class DofArrayType >
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resize ( std::false_type  ,
const bool  enlargeOnly 
)
inlineprotected

◆ resize() [7/7]

template<class GridImp , class MapperType , class DofArrayType >
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resize ( std::true_type  ,
const bool  enlargeOnly 
)
inlineprotected

◆ resizeAndMoveToRear()

template<class GridImp , class MapperType , class DofArrayType >
void Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resizeAndMoveToRear ( )
inlineprotected

◆ resizeForRestrict()

template<class Grid >
void Dune::Fem::DofManager< Grid >::resizeForRestrict ( )
inline

resize memory before data restriction during grid adaptation is done.

◆ resizeMemory()

template<class Grid >
void Dune::Fem::DofManager< Grid >::resizeMemory ( )
inline

resize the MemObject if necessary

◆ resizeMemoryObject()

template<class GridImp , class MapperType , class DofArrayType >
ResizeMemoryObjectType & Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resizeMemoryObject ( )
inline

return object that calls resize of this memory object

◆ ResizeMemoryObjects() [1/2]

template<class MemObjectType >
Dune::Fem::ResizeMemoryObjects< MemObjectType >::ResizeMemoryObjects ( const ResizeMemoryObjects< MemObjectType > &  org)
inline

◆ ResizeMemoryObjects() [2/2]

template<class MemObjectType >
Dune::Fem::ResizeMemoryObjects< MemObjectType >::ResizeMemoryObjects ( MemObjectType &  mo)
inline

◆ restore() [1/3]

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

:: restore

:: restore

Implements Dune::Fem::ManagedIndexSetInterface.

◆ restore() [2/3]

template<class Grid >
void Dune::Fem::DofManager< Grid >::restore ( )
inline

:: restore

:: restore

◆ restore() [3/3]

virtual void Dune::Fem::ManagedIndexSetInterface::restore ( )
pure virtual

:: restore

:: restore

Implemented in Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >.

◆ restrictFinalize()

template<class DofManagerType , class RestrictProlongIndexSetType , bool doResize>
template<class EntityType >
void Dune::Fem::IndexSetRestrictProlong< DofManagerType, RestrictProlongIndexSetType, doResize >::restrictFinalize ( const EntityType &  father) const
inline

◆ restrictLocal() [1/2]

template<class DofManagerType , class RestrictProlongIndexSetType , bool doResize>
template<class EntityType >
void Dune::Fem::IndexSetRestrictProlong< DofManagerType, RestrictProlongIndexSetType, doResize >::restrictLocal ( const EntityType &  father,
const EntityType &  son,
bool  initialize 
) const
inline

restrict data to father and resize memory if doResize is true

◆ restrictLocal() [2/2]

template<class EntityType >
void Dune::Fem::EmptyIndexSetRestrictProlong::restrictLocal ( EntityType &  father,
EntityType &  son,
bool  initialize 
) const
inline

restrict data to father and resize memory if doResize is true

◆ scatter() [1/2]

template<class Grid >
template<class MessageBuffer , class Entity >
void Dune::Fem::DofManager< Grid >::scatter ( MessageBuffer &  str,
const Entity &  entity,
size_t   
)
inline

unpacks all data of this entity from message buffer

◆ scatter() [2/2]

template<class Grid >
void Dune::Fem::DofManager< Grid >::scatter ( XtractStreamType str,
ConstElementType &  element,
size_t   
)
inline

unpacks all data attached of this entity from message buffer

◆ sequence()

template<class Grid >
int Dune::Fem::DofManager< Grid >::sequence ( ) const
inline

return number of sequence, if dofmanagers memory was changed by calling some method like resize, then also this number will increase

Note
The increase of this number could be larger than 1

◆ size() [1/3]

template<class GridImp , class MapperType , class DofArrayType >
int Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::size ( ) const
inlinevirtual

return size of underlying array

Implements Dune::Fem::DofStorageInterface.

◆ size() [2/3]

virtual int Dune::Fem::DofStorageInterface::size ( ) const
pure virtual

◆ size() [3/3]

template<class Grid >
template<class Entity >
size_t Dune::Fem::DofManager< Grid >::size ( const Entity &  ) const
inline

for convenience

◆ usedMemorySize() [1/3]

template<class GridImp , class MapperType , class DofArrayType >
size_t Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::usedMemorySize ( ) const
inlinevirtual

return used memory size

Implements Dune::Fem::ManagedDofStorageInterface.

◆ usedMemorySize() [2/3]

template<class Grid >
size_t Dune::Fem::DofManager< Grid >::usedMemorySize ( ) const
inline

return used memory size of all MemObjects in bytes.

◆ usedMemorySize() [3/3]

virtual size_t Dune::Fem::ManagedDofStorageInterface::usedMemorySize ( ) const
pure virtual

◆ write() [1/3]

template<class Grid >
template<class OutStream >
void Dune::Fem::DofManager< Grid >::write ( OutStream &  out) const
inline

write all index sets to a given stream

Parameters
[out]outstream to write to

◆ write() [2/3]

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

new write method

Implements Dune::Fem::ManagedIndexSetInterface.

◆ write() [3/3]

virtual void Dune::Fem::ManagedIndexSetInterface::write ( StandardOutStream out) const
pure virtual

new read/write methods using binary streams

Implemented in Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >.

◆ writeDofManagerNew()

template<class DofManagerImp >
static bool Dune::Fem::DofManagerFactory< DofManagerImp >::writeDofManagerNew ( const GridType grid,
const std ::string &  filename,
int  timestep 
)
inlinestaticprotected

writes DofManager of corresponding grid, when DofManager exists

◆ ~DofStorageInterface()

virtual Dune::Fem::DofStorageInterface::~DofStorageInterface ( )
virtualdefault

destructor

◆ ~ManagedDofStorageImplementation()

template<class GridImp , class MapperType , class DofArrayType >
Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::~ManagedDofStorageImplementation ( )
inlineprotected

destructor deleting MemObject from resize and reserve List

◆ ~ManagedDofStorageInterface()

virtual Dune::Fem::ManagedDofStorageInterface::~ManagedDofStorageInterface ( )
virtualdefault

destructor

◆ ~ManagedIndexSet()

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

destructor

◆ ~ManagedIndexSetInterface()

virtual Dune::Fem::ManagedIndexSetInterface::~ManagedIndexSetInterface ( )
virtualdefault

Variable Documentation

◆ array_

template<class GridImp , class MapperType , class DofArrayType >
DofArrayType& Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::array_
protected

◆ dataCompressionEnabled_

template<class GridImp , class MapperType , class DofArrayType >
bool Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::dataCompressionEnabled_
protected

◆ dm_

template<class GridImp , class MapperType , class DofArrayType >
DofManagerType& Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::dm_
protected

◆ indexSet_

template<class IndexSetType , class EntityType >
IndexSetType& Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::indexSet_
protected

◆ insertIdxObj_

template<class IndexSetType , class EntityType >
InsertIndicesToSet<IndexSetType, EntityType> Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::insertIdxObj_
protected

◆ insertList_

template<class IndexSetType , class EntityType >
LocalIndexSetObjectsType& Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::insertList_
protected

◆ mapper_

template<class GridImp , class MapperType , class DofArrayType >
MapperType& Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::mapper_
protected

◆ myArray_

template<class GridImp , class MapperType , class DofArrayType >
DofArrayType Dune::Fem::ManagedDofStorage< GridImp, MapperType, DofArrayType >::myArray_
protected

◆ referenceCounter_

size_t Dune::Fem::ManagedIndexSetInterface::referenceCounter_
protected

◆ removeIdxObj_

template<class IndexSetType , class EntityType >
RemoveIndicesFromSet<IndexSetType, EntityType> Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::removeIdxObj_
protected

◆ removeList_

template<class IndexSetType , class EntityType >
LocalIndexSetObjectsType& Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >::removeList_
protected

◆ reserveMemObj_

template<class GridImp , class MapperType , class DofArrayType >
ReserveMemoryObjectType Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::reserveMemObj_
protected

◆ resizeMemObj_

template<class GridImp , class MapperType , class DofArrayType >
ResizeMemoryObjectType Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::resizeMemObj_
protected

◆ setPtr_

IdentifierType Dune::Fem::ManagedIndexSetInterface::setPtr_
protected