#1227 DGFParser fails to read in a 2D UGGrid
Metadata
Property | Value |
---|---|
Reported by | Jurgis Pods (jurgis.pods@iwr.uni-heidelberg.de) |
Reported at | Jan 8, 2013 13:34 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Robert K (robertk@posteo.org) |
Last edited at | Jan 8, 2013 15:53 |
Description
After the DGFWriter now works again for UGGrid (thanks for the fix!), there now seems to be a bug in the reading process. When I try to load a previously written DGF file via
typedef Dune::UGGrid<2> MyGridType;
GridPtr<MyGridType> gridptr(std::string("test_ug.dgf"));
MyGridType& loadedGrid = *gridptr;
I get the following error:
testug: simplex.cc:92: bool Dune::dgf::SimplexBlock::next(std::vector<unsigned int>&, std::vector<double>&): Assertion `ok()' failed.
Please find attached the DGF file I used, which used to work until at least dune-grid revision 8701.