[Dune-devel] Test-Alberta-x-y is broken

Christoph GrĂ¼ninger christoph.grueninger at iws.uni-stuttgart.de
Tue Oct 7 08:14:11 CEST 2014


Hi fellow Duners,
the list of failing dune-grid tests has more entries. The default
constructable EntityPointer seems to have an impact on test-alberta-x-y.

Bye
Christoph

The error message is:

> ../../../dune/grid/common/entitypointer.hh:144:5: error: constructor for 'Dune::EntityPointer<const Dune::AlbertaGrid<1, 1>, Dune::AlbertaGridLeafIterator<1, 4, const Dune::AlbertaGrid<1, 1> > >' must explicitly initialize the member 'realIterator' which does not have a
>       default constructor
>     EntityPointer()
>     ^
> ../../../dune/grid/common/entityiterator.hh:66:5: note: in instantiation of member function 'Dune::EntityPointer<const Dune::AlbertaGrid<1, 1>, Dune::AlbertaGridLeafIterator<1, 4, const Dune::AlbertaGrid<1, 1> > >::EntityPointer' requested here
>     EntityIterator ( )
>     ^
> /temp/gruenich/dune/complete/dune-common/dune/common/test/iteratortest.hh:30:8: note: in instantiation of member function 'Dune::EntityIterator<1, const Dune::AlbertaGrid<1, 1>, Dune::AlbertaGridLeafIterator<1, 4, const Dune::AlbertaGrid<1, 1> > >::EntityIterator'
>       requested here
>   Iter defaultConstructedIterator;
>        ^
> ./checkiterators.cc:116:11: note: in instantiation of function template specialization 'testForwardIterator<Dune::EntityIterator<1, const Dune::AlbertaGrid<1, 1>, Dune::AlbertaGridLeafIterator<1, 4, const Dune::AlbertaGrid<1, 1> > >, NoopFunctor<Dune::Entity<1, 1, const
>       Dune::AlbertaGrid<1, 1>, AlbertaGridEntity> > >' requested here
>   if(0 != testForwardIterator(gridView.template begin<codim>(),
>           ^
> ./checkiterators.cc:66:52: note: in instantiation of member function 'CheckCodimIterators<Dune::GridView<Dune::AlbertaLeafGridViewTraits<const Dune::AlbertaGrid<1, 1>, 4> >, 1, true>::apply' requested here
>     return CheckCodimIterators< GridView, codim >::apply( gridView );
>                                                    ^
> ./checkiterators.cc:52:58: note: in instantiation of member function 'CheckIterators<Dune::GridView<Dune::AlbertaLeafGridViewTraits<const Dune::AlbertaGrid<1, 1>, 4> > >::CheckCodim<1>::apply' requested here
>     Dune::ForLoop< CheckCodim, 1, GridView::dimension >::apply( gridView );
>                                                          ^
> ./checkiterators.cc:127:31: note: in instantiation of member function 'CheckIterators<Dune::GridView<Dune::AlbertaLeafGridViewTraits<const Dune::AlbertaGrid<1, 1>, 4> > >::apply' requested here
>   CheckIterators< GridView >::apply( gridView );
>                               ^
> test-alberta.cc:130:5: note: in instantiation of function template specialization 'checkIterators<Dune::GridView<Dune::AlbertaLeafGridViewTraits<const Dune::AlbertaGrid<1, 1>, 4> > >' requested here
>     checkIterators( grid.leafGridView() );
>     ^
> ../../../dune/grid/common/entitypointer.hh:117:20: note: member is declared here
>     Implementation realIterator;
>                    ^
> ../../../dune/grid/albertagrid/leafiterator.hh:19:9: note: 'Dune::AlbertaGridLeafIterator<1, 4, const Dune::AlbertaGrid<1, 1> >' declared here
>   class AlbertaGridLeafIterator

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20141007/e6b9d9c0/attachment.sig>


More information about the Dune-devel mailing list