Skip to content
Snippets Groups Projects
Commit d0412858 authored by Adrian Burri's avatar Adrian Burri
Browse files

Added Constructor without DofManager

[[Imported from SVN: r2668]]
parent 93d96cc9
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,10 @@ namespace Dune {
//! LagrangeBaseSet with polOrd
LagrangeDiscreteFunctionSpace(GridPartType & g, DofManagerType & dm);
//! Constructor generating for each different element type of the grid a
//! LagrangeBaseSet with polOrd
LagrangeDiscreteFunctionSpace(GridPartType & g);
//! Desctructor
virtual ~LagrangeDiscreteFunctionSpace ();
......
......@@ -22,6 +22,19 @@ namespace Dune {
makeFunctionSpace(g);
}
template <
class FunctionSpaceImp, class GridPartImp, int polOrd, class DofManagerImp
>
inline LagrangeDiscreteFunctionSpace<FunctionSpaceImp, GridPartImp, polOrd, DofManagerImp>::
LagrangeDiscreteFunctionSpace (GridPartType & g) :
DefaultType(id),
baseFuncSet_(GeometryIdentifier::numTypes,0),
dm_(DofManagerFactoryType::getDofManager(g.grid())),
grid_(g),
mapper_(0)
{
makeFunctionSpace(g);
}
template <
class FunctionSpaceImp, class GridPartImp, int polOrd, class DofManagerImp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment