[Dune] Pulling latest dune-grid, test does not compile

Aleksejs Fomins aleksejs.fomins at lspr.ch
Thu Mar 19 10:48:52 CET 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Dune,

After pulling the latest dune-grid and compiling the test that uses gridcheck, I get the error


/home/fomins/gitwork/hades-github-lspr-ag/dune-grid/dune/grid/test/checkcommunicate.hh:346:51: error: conversion from ‘std::conditional<false, Dune::Entity<0, 3, const Dune::CurvilinearGrid<3, 3, double, false>, Dune::CurvGrid::CurvEntity>, Dune::EntityPointer<const Dune::CurvilinearGrid<3, 3, double, false>, Dune::CurvGrid::CurvEntityPointer<0, const Dune::CurvilinearGrid<3, 3, double, false> > > >::type {aka Dune::EntityPointer<const Dune::CurvilinearGrid<3, 3, double, false>, Dune::CurvGrid::CurvEntityPointer<0, const Dune::CurvilinearGrid<3, 3, double, false> > >}’ to non-scalar type ‘CheckCommunication<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::CurvilinearGrid<3, 3, double, false>, (Dune::PartitionIteratorType)4u> >, 3, Dune::DebugStream<1u, 4u> >::Entity {aka Dune::Entity<0, 3, const Dune::CurvilinearGrid<3, 3, double, false>, Dune::CurvGrid::CurvEntity>}’ requested
               Entity neigh = intersection.outside();

Which basically expects intersection.outside() to be an entity and not an entity pointer. Is this expected?

Regards,
Aleksejs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJVCpuEAAoJEDkNM7UOEwMZeGYQANwCV26NnVEQVIy4jCGVXoUx
03BwEudY4IiseydP9r+4JLjidlN6NlRZw71w+82AlZ17j1VnWIDma4QyYTqY+lPw
o48vLdxJVYksg2J2p5Tsi2H6y9vsT0M4a1BjEBxAI6uvnsmGow3vhLkCfmjjuTyT
9Ebjtv0/F+m+iwvccjBM8H9QDvmjlweEPaHoJmsgh1T6HeCwqDQOAfJsiSVEV6vI
atQp9zWWQxDLoWGJHDfDM9eG755d9zkzmji3Qm42a5VecNsfPYh9RObDwlyMWhwy
rHMoVTxn8N/kccK0df7xqOulgr0LTYfPnyXnXmmhDjdfAlj/MWxy7Gjz6xyssUhY
KFYeb2LWws+Gl4kanw8Gvp4YM5ORHZv4diel2rLX6ZBh1HBfDFWvyO1IvVfry0Bz
mqHc29LR4PxBMFhGOF4rcmjWtfhnUvDaC8Qj4nn7FVLm/jk3+rnijQ/Q9v12SKGt
o42PsFF3MGgA7BMV9B74G5dsS6QZPWVru0oSw/Dnw4KayFlUOox5TBDBPND/X//O
aw3Fv3PWoSgi6oFTtwbWzxpCxemshBmMcwusT6QeAzxOpPfrAsUabwMfMvNL4Hh/
lYH90dKtOPY+471uP3SGZ7wwRECjfYea/srzS/7VA3Dz7L/b7zoXfsSBkA+DW1O1
bKYpD5fkLbUX9L4WjKMt
=YgGS
-----END PGP SIGNATURE-----




More information about the Dune mailing list