mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Compute active and fracture cell count for all grids
Renamed numActiveCells on maingrid to globalMatrixActiveCellCount p4#: 20295
This commit is contained in:
@@ -114,6 +114,6 @@ TEST(RigReservoirTest, ElipseInputGridFile)
|
||||
bool result = inputReader.open("TEST10K_FLT_LGR_NNC.grdecl", &res);
|
||||
EXPECT_TRUE(result);
|
||||
EXPECT_EQ(size_t(1), res.mainGrid()->cells().size());
|
||||
EXPECT_EQ(size_t(1), res.mainGrid()->numActiveCells());
|
||||
EXPECT_EQ(size_t(1), res.mainGrid()->globalMatrixActiveCellCount());
|
||||
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@ bool RifReaderEclipseOutput::buildMetaData(RigReservoir* reservoir)
|
||||
caf::ProgressInfo progInfo(2,"");
|
||||
|
||||
// Get the number of active cells in the grid
|
||||
size_t numActiveCells = reservoir->mainGrid()->numActiveCells();
|
||||
size_t numActiveCells = reservoir->mainGrid()->globalMatrixActiveCellCount();
|
||||
size_t numGrids = reservoir->mainGrid()->gridCount();
|
||||
|
||||
// Create access object for dynamic results
|
||||
|
||||
Reference in New Issue
Block a user