[Dune-devel] Fwd: [dune-alugrid - Bug #316] (New) dune-alugrid does not compile

Aleksejs Fomins aleksejs.fomins at lspr.ch
Thu Oct 8 10:32:02 CEST 2015


Dear Alugrid developers,

Could somebody please address the bug I have pointed out on Wednesday? From the error messages it seems that its is a one-liner, so should not take more than 5 min of your time. Currently I can not compile with dune-alugrid and I feel silly having to revert all dune modules to the state they were before the Partition structure change.

Greetings,
Aleksejs





-------- Forwarded Message --------
Subject: [dune-alugrid - Bug #316] (New) dune-alugrid does not compile
Date: Wed, 07 Oct 2015 09:06:32 +0200
From: dune.project at uni-muenster.de

Issue #316 has been reported by Aleksejs Fomins.

----------------------------------------
Bug #316: dune-alugrid does not compile
https://users.dune-project.org/issues/316

* Author: Aleksejs Fomins
* Status: New
* Priority: High
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
Dear Alugrid developers,

Latest commit of dune-alugrid 51c3064aedccb528bf4458bb18858ded3ba4b40b (2 Oct)
Latest commit of dune-grid d42b0a3a1e57afd31b94ef177d92464c0b2cd414 (2 Oct)

Bug: Alugrid does not compile. Error:

--------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------

[ 83%] Building CXX object lib/CMakeFiles/dunealugrid.dir/__/dune/alugrid/2d/intersection.cc.o
In file included from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/iterator_imp.cc:6:0,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/iterator.hh:470,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/entity.hh:12,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.hh:14,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.cc:9:
/home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/grid.hh:160:79: error: wrong number of template arguments (2, should be 1)
         typedef Dune::GridView<DefaultLevelGridViewTraits<const GridImp,pitype> >
                                                                               ^
In file included from /home/fomins/gitwork/hades-lspr-ag/dune-grid/dune/grid/common/grid.hh:28:0,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/geometry.hh:6,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.cc:8:
/home/fomins/gitwork/hades-lspr-ag/dune-grid/dune/grid/common/defaultgridview.hh:23:10: error: provided for ‘template<class GridImp> struct Dune::DefaultLevelGridViewTraits’
   struct DefaultLevelGridViewTraits
          ^
In file included from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/iterator_imp.cc:6:0,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/iterator.hh:470,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/entity.hh:12,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.hh:14,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.cc:9:
/home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/grid.hh:160:81: error: template argument 1 is invalid
         typedef Dune::GridView<DefaultLevelGridViewTraits<const GridImp,pitype> >
                                                                                 ^
/home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/grid.hh:162:78: error: wrong number of template arguments (2, should be 1)
         typedef Dune::GridView<DefaultLeafGridViewTraits<const GridImp,pitype> >
                                                                              ^
In file included from /home/fomins/gitwork/hades-lspr-ag/dune-grid/dune/grid/common/grid.hh:28:0,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/geometry.hh:6,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.cc:8:
/home/fomins/gitwork/hades-lspr-ag/dune-grid/dune/grid/common/defaultgridview.hh:223:10: error: provided for ‘template<class GridImp> struct Dune::DefaultLeafGridViewTraits’
   struct DefaultLeafGridViewTraits {
          ^
In file included from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/iterator_imp.cc:6:0,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/iterator.hh:470,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/entity.hh:12,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.hh:14,
                 from /home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/intersection.cc:9:
/home/fomins/gitwork/hades-lspr-ag/dune-alugrid/dune/alugrid/2d/grid.hh:162:80: error: template argument 1 is invalid
         typedef Dune::GridView<DefaultLeafGridViewTraits<const GridImp,pitype> >
                                                                                ^
--------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------

Possible cause:

commit 3f8d2314c2a1df79caefa5bfda5b9c00f684bfcf
Author: Martin Nolte <nolte at mathematik.uni-freiburg.de>
Date:   Wed Sep 30 19:49:50 2015 +0200

    remove deprecated grid views for arbitrary partition iterator types




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please go to: http://users.dune-project.org/my/account






More information about the Dune-devel mailing list