Skip to content
Snippets Groups Projects
Commit 5c4d576c authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

DGSpace gets DofManager from Factory now.

[[Imported from SVN: r2308]]
parent 2f620082
Branches
Tags
No related merge requests found
......@@ -29,10 +29,14 @@ namespace Dune {
polOrd, BaseFunctionSet, DofManagerType >,
BaseFunctionSet < FunctionSpaceType > >
{
typedef DofManagerFactory<GridType,
typename DofManagerType::DataCollectorType> DofManagerFactoryType;
enum { DGFSpaceId = 123456789 };
// to be revised, see LagrangeDiscreteFunctionSpace
DofManagerType dm_;
DofManagerType & dm_;
// corresponding IndexSet, here LevelIndexSet
typedef typename DofManagerType::IndexSetType IndexSetType;
......@@ -60,7 +64,7 @@ namespace Dune {
/** \todo Please doc me! */
DGDiscreteFunctionSpace ( GridType & g , int level ) :
DiscreteFunctionSpaceType (g, DGFSpaceId, level),
dm_ ( g ), base_(*this, polOrd),
dm_ ( DofManagerFactoryType::getDofManager(g) ), base_(*this, polOrd),
mapper_(dm_.indexSet(), base_.getNumberOfBaseFunctions(), level)
{}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment