Remove NNC entries that correcpond to EDITNNCR

No need to keep those as they will be overwritten anyway.
This commit is contained in:
Markus Blatt
2023-03-31 10:06:56 +02:00
parent 55a0078b3e
commit 5a19bcc4d0
3 changed files with 23 additions and 30 deletions

View File

@@ -385,6 +385,7 @@ BOOST_AUTO_TEST_CASE(readDeck_EDIT)
EclipseGrid grid(10,10,10);
NNC nnc(grid, deck);
BOOST_CHECK(nnc.editr().empty());
const std::vector<NNCdata>& data = nnc.edit();
BOOST_CHECK_EQUAL(data.size(), 2); //neighbouring connections in EDITNNC are ignored