dune-fem  2.4.1-rc
Public Types | Static Public Member Functions | Static Protected Member Functions | List of all members
Dune::Fem::DofManagerFactory< DofManagerImp > Class Template Reference

Singleton provider for the DofManager. More...

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

Public Types

typedef DofManagerImp DofManagerType
 
typedef DofManagerType::GridType GridType
 

Static Public Member Functions

static void deleteDofManager (DofManagerType &dm)
 delete the dof manager that belong to the given grid More...
 

Static Protected Member Functions

static DofManagerTypeinstance (const GridType &grid)
 obtain a reference to the DofManager for a given grid More...
 
static bool writeDofManagerNew (const GridType &grid, const std::string &filename, int timestep)
 writes DofManager of corresponding grid, when DofManager exists More...
 
static bool readDofManagerNew (const GridType &grid, const std::string &filename, int timestep)
 reads DofManager of corresponding grid, when DofManager exists More...
 

Detailed Description

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

Singleton provider for the DofManager.

DofManagerFactory guarantees that at most one instance of DofManager is generated for each grid.

Member Typedef Documentation

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

Member Function Documentation

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

delete the dof manager that belong to the given grid

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
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

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


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