#1574 check-geometry-in-father broken in dune-alugrid
Metadata
Property | Value |
---|---|
Reported by | Markus Blatt (markus@dr-blatt.de) |
Reported at | Feb 24, 2015 16:18 |
Type | Bug Report |
Version | Git (pre2.4) [cmake] |
Operating System | Unspecified / All |
Last edited by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
Last edited at | Feb 24, 2015 19:37 |
Closed by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
Closed at | Feb 24, 2015 19:37 |
Closed in version | Unknown |
Resolution | Fixed |
Comment | in 542c422300453a78b73a5c2899e33dffc73314da |
Description
This is in package dune-alugrid.
/home/mblatt/src/dune/current/dune-grid/dune/grid/test/checkgeometryinfather.hh: In instantiation of ‘void checkGeometryInFather(const GridType&) [with GridType = Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1u, (Dune::ALUGridRefinementType)1u>]’: /home/mblatt/src/dune/current/dune-alugrid/dune/alugrid/test/test-alugrid.cc:473:3: required from ‘void checkALUSerial(GridType&, int, bool) [with GridType = Dune::ALUGrid<3, 3, (Dune::ALUGridElementType)1u, (Dune::ALUGridRefinementType)1u>]’ /home/mblatt/src/dune/current/dune-alugrid/dune/alugrid/test/test-alugrid.cc:594:30: required from here /home/mblatt/src/dune/current/dune-grid/dune/grid/test/checkgeometryinfather.hh:94:37: error: conversion from ‘std::conditional<false, Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntity>, Dune::EntityPointer<const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntityPointer<0, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> > > >::type {aka Dune::EntityPointer<const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntityPointer<0, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> > >}’ to non-scalar type ‘Entity {aka Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntity>}’ requested /home/mblatt/src/dune/current/dune-grid/dune/grid/test/checkgeometryinfather.hh:103:42: error: conversion from ‘std::conditional<false, Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntity>, Dune::EntityPointer<const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntityPointer<0, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> > > >::type {aka Dune::EntityPointer<const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntityPointer<0, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> > >}’ to non-scalar type ‘Entity {aka Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntity>}’ requested /home/mblatt/src/dune/current/dune-grid/dune/grid/test/checkgeometryinfather.hh:156:42: error: conversion from ‘std::conditional<false, Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntity>, Dune::EntityPointer<const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntityPointer<0, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> > > >::type {aka Dune::EntityPointer<const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntityPointer<0, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> > >}’ to non-scalar type ‘Entity {aka Dune::Entity<0, 3, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntity>}’ requested /home/mblatt/src/dune/current/dune-grid/dune/grid/test/checkgeometryinfather.hh:160:15: error: no match for ‘operator=’ in ‘father = Dune::Entity<0, dim, GridImp, EntityImp>::father(typename std::enable_if<std::is_same<Foo, void>::value, void*>::type) const with Foo = void; int dim = 3; GridImp = const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>; EntityImp = Dune::ALU3dGridEntity; typename std::conditional<std::is_same<decltype (((Dune::Entity<0, dim, GridImp, EntityImp>*)0)->Dune::Entity<0, dim, GridImp, EntityImp>::realEntity.father()), Dune::Entity<0, dim, GridImp, EntityImp> >::value, Dune::Entity<0, dim, GridImp, EntityImp>, typename GridImp::Codim<0>::EntityPointer>::type = Dune::EntityPointer<const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm>, Dune::ALU3dGridEntityPointer<0, const Dune::ALU3dGrid<(Dune::ALU3dGridElementType)7u, Dune::ALUGridMPIComm> > >; typename std::enable_if<std::is_same<Foo, void>::value, void>::type = void’