[Dune-devel] Small bug with latest dune-grid pull

Martin Nolte nolte at mathematik.uni-freiburg.de
Tue Oct 6 18:01:57 CEST 2015


Hi Aleksejs,

have a look at Commit 3f8d2314c2a1df79caefa5bfda5b9c00f684bfcf in dune-grid.

Best,

Martin

On 10/06/2015 05:49 PM, Aleksejs Fomins wrote:
> Dear Dune,
>
> I pulled the latest dune-grid and I get an error with my curvilinear grid. I have a following structure in my grid.hh file:
>
> -------------------------------------------------------------------------------
> template< PartitionIteratorType pitype >
> struct Partition
> {
> typedef typename GridFamily::Traits::template Partition<pitype>::LevelGridView LevelGridView;
> typedef typename GridFamily::Traits::template Partition<pitype>::LeafGridView LeafGridView;
> };
> -------------------------------------------------------------------------------
>
> I don't really remember what was the reason I put it there, but now it throws the error
>
> /home/fomins/gitwork/hades-lspr-ag/dune-curvilineargrid/dune/curvilineargrid/curvilineargrid/grid.hh:191:91: error: no class template named ‘Partition’ in ‘Dune::CurvGridFamily<double, 3, true, Dune::LoggingMessage>::Traits {aka struct Dune::GridTraits<3, 3, Dune::CurvilinearGrid<double, 3, true, Dune::LoggingMessage>, Dune::CurvGrid::CurvGeometry, Dune::CurvGrid::CurvEntity, Dune::CurvGrid::CurvEntityPointer, Dune::CurvGrid::CurvLevelIterator, Dune::CurvGrid::CurvIntersection, Dune::CurvGrid::CurvIntersection, Dune::CurvGrid::CurvIntersectionIterator, Dune::CurvGrid::CurvIntersectionIterator, Dune::CurvGrid::CurvHierarchicIterator, Dune::CurvGrid::CurvLevelIterator, Dune::CurvGrid::CurvIndexSet<const Dune::CurvilinearGrid<double, 3, true, Dune::LoggingMessage> >, Dune::CurvGrid::CurvIndexSet<const Dune::CurvilinearGrid<double, 3, true, Dune::LoggingMessage> >, Dune::CurvGrid::CurvIdSet<const Dune::CurvilinearGrid<double, 3, true, Dune::LoggingMessage> >, Dune::CurvilinearGrid
S
>   t
> orage<double, 3, true, Dune::LoggingMessage>::IdType, Dune::CurvGrid::CurvIdSet<const Dune::CurvilinearGrid<double, 3, true, Dune::LoggingMessage> >, Dune::CurvilinearGridStorage<double, 3, true, Dune::LoggingMessage>::IdType, Dune::CollectiveCommunication<ompi_communicator_t*>, Dune::DefaultLevelGridViewTraits, Dune::DefaultLeafGridViewTraits, Dune::CurvGrid::CurvEntitySeed, Dune::CurvGrid::CurvGeometry>}’
>
> Can somebody suggest what happened?
>
> Thanks,
> Aleksejs
>
> _______________________________________________
> Dune-devel mailing list
> Dune-devel at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel
>

-- 
Dr. Martin Nolte <nolte at mathematik.uni-freiburg.de>

Universität Freiburg                                   phone: +49-761-203-5630
Abteilung für angewandte Mathematik                    fax:   +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany




More information about the Dune-devel mailing list