[dune-pdelab] [dune-pdelab-commit] dune-pdelab r471 - trunk/dune/pdelab/gridfunctionspace
Christian Engwer
christi at uni-hd.de
Mon May 17 22:07:57 CEST 2010
OK, now I see!
> >> I attach a patch to gridfunctionspace.hh. Maybe you can have a look.
> >>
> > I don't quite understand what this changes :-( actually the definition
> > GridFunctionSpaceBlockwiseMapper<> should have had the same
> > behaviour. Furthermore this will not work for composity functionspaces.
> >
> I would also think so.
The problem is the template-specialization resolution, it works
slightly different from function overload lookup.
> >> + template<typename T, int k>
> >> + class PowerGridFunctionSpaceBase<T,k,GridFunctionSpaceBlockwiseMapper >
> >> + : public PowerGridFunctionSpaceBase<T,k,GridFunctionSpaceComponentBlockwiseMapper<1> >
> >> + {};
I'll add a patch like this and update the
ComposityGridFunctionSpaceBase accordingly.
> I found one which does not really fail, but which shows that the
> specialization is not entered. Try
> make dnapl
> ./dnapl 0 1 1 1
thanks.
Cheers
Christian
More information about the dune-pdelab
mailing list