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

Aleksejs Fomins aleksejs.fomins at lspr.ch
Tue Oct 6 17:49:31 CEST 2015


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::CurvilinearGridS
 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




More information about the Dune-devel mailing list