[dune-pdelab] PGFS with 1 component

Pavel Hron pavel.hron at iwr.uni-heidelberg.de
Mon Feb 17 16:09:00 CET 2014


Hi Martin,

I'm pretty sure PowerGridFunctionSpace works with only 1 component as
well. Maybe you forget to delete lines in code which are using child
with higher index than 0, e.g.
Dune::PDELab::GridFunctionSubSpace<TPGFS,Dune::TypeTree::TreePath<1> >
or some type extraction in local operator.

Best Regards
Pavel 

On Mon, 2014-02-17 at 15:39 +0100, Oliver Sander wrote:
> Am 17.02.2014 15:27, schrieb Martin Rückl:
> > Hi PDELab team,
> > i am using the Dune::PDELab::PowerGridFunctionSpace in one of my generic classes. At the moment I'm porting lots of my code to the new Dune/Pdelab version. I think in the old version of PDElab (like
> > one year ago, before the changes with the dof handling) it was possible to create a PowerGridFunctionSpace with only a single component, i.e.:
> > 
> >     typedef Dune::PDELab::PowerGridFunctionSpace<GFS,1,VBE,Dune::PDELab::EntityBlockedOrderingTag> PGFS;
> > 
> > while the above is still possible, i get an assertion error when interpolating an initial solution into the dof vector:
> > 
> > Dune::PDELab::interpolate(initialSolution,pgfs,u);
> > 
> > -> assert(i==-1) in dune/pdelab/backend/istl/vectorhelpers.hh line #27 fails
> > 
> > i had a short glimpse into the callstack, and  I think the cache type had size 1 hence i resulted in 0. If you like, i can provide a full call stack(which looks REALLY ugly :-() and/or fill a bug report.
> > 
> > Since i added a little bit of extra functionality around the ISTLBlockVectorConainer, I'm not 100% sure whether it is an PDELab issue :-(
> > 
> > HtH!
> > Martin Rueckl
> > 
> 
> Hi Martin,
> I think the most helpful thing would be if you could provide a small test program
> that triggers the bug, and which only relies on pdelab functionality.
> Cheers,
> Oliver
> 
> _______________________________________________
> dune-pdelab mailing list
> dune-pdelab at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-pdelab






More information about the dune-pdelab mailing list