[Dune] Notification from Dune

Flyspray dune at dune-project.de
Mon May 21 16:38:46 CEST 2007


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below.

User who did this: - Oliver Sander (sander)

Attached to Project - Dune
Summary - GridPart default partition type inconsistent with grid
Task Type - Bug Report
Category - Grid
Status - New
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - SVN
Due in Version - 
Due Date - Undecided
Details - When calling the method lbegin<cd> of a grid, the second
template parameter defaults to All_Partition.  When the corresponding
method of a GridPart is called, the default is Interior_Partition. 
While both choices seem reasonable (to me), the inconsistency leads to
some minor surprises.  For example, the following test case does not
compile.

#include <config.h>

#include <dune/grid/onedgrid.hh>
#include <dune/grid/common/gridpart.hh>

int main () {   
    typedef Dune::OneDGrid GridType;
    GridType grid(0,1,10);

    typedef Dune::LevelGridPart<const GridType> GridPartType;

    GridPartType::Traits::Codim<0>::IteratorType iterator =
grid.lbegin<0>(0);
 } 



More information can be found at the following URL:
http://hal.iwr.uni-heidelberg.de/flyspray/?do=details&id=296

You are receiving this message because you have requested it from the
Flyspray bugtracking system.  You can be removed from future
notifications by visiting the URL shown above.





More information about the Dune mailing list