#4495 Active Cells : Use PORV or ACTNUM from statistics computations

This commit is contained in:
Magne Sjaastad
2019-06-19 15:05:54 +02:00
parent 085c4f3714
commit 515b2a4237
5 changed files with 112 additions and 91 deletions

View File

@@ -52,7 +52,7 @@ TEST(RifActiveCellsReaderTest, BasicTest10k)
QString filePath = baseFolder.absoluteFilePath(filename);
ecl_file_type* gridFile = ecl_file_open(RiaStringEncodingTools::toNativeEncoded(filePath).data(), ECL_FILE_CLOSE_STREAM);
activeCellsFromActnum = RifActiveCellsReader::activeCellsFromActnumKeyword(mainEclGrid, gridFile);
activeCellsFromActnum = RifActiveCellsReader::activeCellsFromActnumKeyword(gridFile);
EXPECT_EQ(2, activeCellsFromActnum.size());
ecl_file_close(gridFile);
}
@@ -63,7 +63,7 @@ TEST(RifActiveCellsReaderTest, BasicTest10k)
ecl_file_type* initFile = ecl_file_open(RiaStringEncodingTools::toNativeEncoded(filePath).data(), ECL_FILE_CLOSE_STREAM);
activeCellsFromPorv = RifActiveCellsReader::activeCellsFromPorvKeyword(mainEclGrid, initFile);
activeCellsFromPorv = RifActiveCellsReader::activeCellsFromPorvKeyword(initFile, false);
EXPECT_EQ(2, activeCellsFromPorv.size());
ecl_file_close(initFile);