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

Aleksejs Fomins aleksejs.fomins at lspr.ch
Tue Oct 6 18:07:37 CEST 2015


Ok so basically there is no more partition thingy, and I can simply write 

typedef typename GridFamily::Traits::LeafGridView LeafGridView;
typedef typename GridFamily::Traits::LevelGridView LevelGridView;

Thanks Martin :)

On 06.10.2015 18:01, Martin Nolte wrote:
> 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::CurvilinearGr
 i
d
> 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
>>
> 




More information about the Dune-devel mailing list