dune-fem  2.4.1-rc
Classes | Functions
Collaboration diagram for Handling DOFs:

Classes

class  Dune::Fem::DofManager< Grid >
 
class  Dune::Fem::DofManagerFactory< DofManagerImp >
 Singleton provider for the DofManager. More...
 
struct  Dune::Fem::SpecialArrayFeatures< ArrayType >
 SpecialArrayFeatures is a wrapper class to extend some array classes with some special features needed for the MemObject. There exsist a specialization for MutableArray and PetscVector. 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...
 

Functions

template<class DofStorageType , class GridType , class MapperType >
static std::pair< DofStorageInterface *, DofStorageType * > Dune::Fem::allocateManagedDofStorage (const GridType &grid, const MapperType &mapper, const std::string &name, const DofStorageType *=0)
 default implementation for creating a managed dof storage More...
 
template<class IndexSetType >
void Dune::Fem::DofManager< Grid >::addIndexSet (const IndexSetType &iset)
 add index set to dof manager's list of index sets More...
 
template<class IndexSetType >
void Dune::Fem::DofManager< Grid >::removeIndexSet (const IndexSetType &iset)
 removed index set from dof manager's list of index sets More...
 
template<class ManagedDofStorageImp >
void Dune::Fem::DofManager< Grid >::addDofStorage (ManagedDofStorageImp &dofStorage)
 add a managed dof storage to the dof manager. More...
 
template<class ManagedDofStorageImp >
void Dune::Fem::DofManager< Grid >::removeDofStorage (ManagedDofStorageImp &dofStorage)
 remove a managed dof storage from the dof manager. More...
 

Detailed Description

Function Documentation

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 ManagedDofStorageInterfaceadd a managed dof storage to the dof manager.
dofStoragedof storage to add which must fulfill the ManagedDofStorageInterface

References Dune::Fem::DofManager< Grid >::removeDofStorage().

Referenced by Dune::Fem::ManagedDofStorageImplementation< GridImp, MapperType, DofArrayType >::ManagedDofStorageImplementation(), and Dune::Fem::DofManager< Grid >::removeIndexSet().

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 write( OutStreamInterface<Traits>& );
void read( InStreamInterface<Traits>& )
Parameters
[in]isetindex set to add to list

References Dune::Fem::ManagedIndexSetInterface::addReference(), Dune::Fem::DofManager< Grid >::removeIndexSet(), and Dune::Fem::ThreadManager::singleThreadMode().

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

template<class DofStorageType , class GridType , class MapperType >
static std::pair< DofStorageInterface* , DofStorageType* > Dune::Fem::allocateManagedDofStorage ( const GridType &  grid,
const MapperType &  mapper,
const std::string &  name,
const DofStorageType *  = 0 
)
inlinestatic
template<class GridType >
template<class ManagedDofStorageImp >
void Dune::Fem::DofManager< GridType >::removeDofStorage ( ManagedDofStorageImp &  dofStorage)
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

References Dune::Fem::DofManager< Grid >::addDofStorage(), and Dune::Fem::ThreadManager::singleThreadMode().

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