[Dune] battle with gridcheck continues

Aleksejs Fomins aleksejs.fomins at lspr.ch
Wed Mar 25 16:10:17 CET 2015


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

Dear Dune,

Thank you for your support so far in helping me make the grid work with gridcheck. I think I am nearing the end.

The last major problem that caused crashes of gridcheck was because the local index was not continuous for vertices. It was my mistake, since I indexed element corners and internal interpolatory vertices with the same index, thus making the index for corners non-continuous. It has now been corrected. I was however surprised that I did not notice the gridcheck checking for this explicitly. I am sorry if I have missed this test, but if it is not there I propose making a simple test to iterate over all entities and check whether their indices are continuous and start at 0.


Currently I am running into a different problem, also with checkCommunication. I receive the assert problem 

test-curvgrid: /home/fomins/gitwork/hades-github-lspr-ag/dune-grid/dune/grid/test/checkcommunicate.hh:159: void ExampleDataHandle<IndexSetImp, GlobalIdSetImp, DataVectorType>::scatter(MessageBuffer&, const EntityType&, size_t) [with MessageBuffer = Dune::MessageBufferIF<Dune::CurvGrid::CurvilinearMessageBuffer<double> >; EntityType = Dune::Entity<3, 3, const Dune::CurvilinearGrid<3, 3, double, false>, Dune::CurvGrid::CurvEntity>; IndexSetImp = Dune::IndexSet<const Dune::CurvilinearGrid<3, 3, double, false>, Dune::CurvGrid::CurvIndexSet<const Dune::CurvilinearGrid<3, 3, double, false> >, unsigned int, std::vector<Dune::GeometryType> >; GlobalIdSetImp = Dune::IdSet<const Dune::CurvilinearGrid<3, 3, double, false>, Dune::CurvGrid::CurvIdSet<const Dune::CurvilinearGrid<3, 3, double, false> >, Dune::CurvilinearGridStorage<double, 3, false>::IdType>; DataVectorType = std::vector<double>; size_t = long unsigned int]: Assertion `( e.partitionType() == Dune::GhostEntity ) ? (x>=0.0) !
 : 1' fail
 e
d.

would it be possible for someone to briefly describe what the checkCommunication test does?

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

iQIcBAEBAgAGBQJVEs/ZAAoJEDkNM7UOEwMZaWUP/iXAndrtv49ZX5zKWU7ZJFaA
4KTq60I1GQXfip+Xw43kwkqRMLC79siokKws2BPPc0QoD9DVFHuekNAK7TOFYbO0
ThvE4hoVc8n+DTPOlrW9fKuVXc/STO7eTsF5ndWdmUDpZmZp78fZXJER2oJP6Uib
Hkvf1Or4clyTzxqKbZ2WqfT7E+EsyoJVW6ROkz9gtY6QFx/Lb9QJvPRlu3ikRUky
ssP7HW6HbCpn7nwKMSVFpIpwRCdprtWRW9pmMiWudmLGppx9wtZQADHT8lyG2I+w
CeU8eFD/mJPQixNN4J4nz2p6IqNhLkhHziWawShBn6dYux44DuvqsM8w26DJ0HIt
1VmqfbhiowTGofoTIU/x5qNUR6YVu2i+Hn0QuJxQvXSXyuUg/7VQv1U33Zq9X98j
MIoEM6yzezUdGNtQxNFOjA2PQ4Hb5rFDKWQ09cZz1M/E8gSWEy/G48/3Ucf9BZJ5
cV8DK/UOQ+i770yF49XqrQIonppVvwSVGt4Hq2dUbCEdkGsc6oMNp+VKGLgwe7gt
dKtcDIX9jHF8lTKamdpog1EGq+QR8353vHmNCGUgWEWQbPqQqqiDgeEDWm1IwegM
R0ATpd1ov+9utSqcAoyLMwyepor6n7U75jtUeP6gOXvyF4fWyofhgdZJ2vBC4YBx
urlw20/IMoxw1BHhdl+W
=NMTk
-----END PGP SIGNATURE-----




More information about the Dune mailing list