Renamed globalCell to reservoirCell etc.

This commit is contained in:
Jacob Støren
2014-08-08 10:27:29 +02:00
committed by Magne Sjaastad
parent 6cdd9cfdc5
commit 3022a40204
13 changed files with 46 additions and 46 deletions

View File

@@ -32,7 +32,7 @@ TEST(RigActiveCellInfo, BasicTest)
RigActiveCellInfo rigActiveCellInfo;
size_t globalActiveCellCount = 10;
rigActiveCellInfo.setGlobalCellCount(globalActiveCellCount);
rigActiveCellInfo.setReservoirCellCount(globalActiveCellCount);
for (size_t i = 0; i < globalActiveCellCount; i++)
{
@@ -57,7 +57,7 @@ TEST(RigActiveCellInfo, GridCellCounts)
rigActiveCellInfo.setGridActiveCellCounts(2, 2);
rigActiveCellInfo.computeDerivedData();
EXPECT_TRUE(rigActiveCellInfo.globalActiveCellCount() == 3);
EXPECT_TRUE(rigActiveCellInfo.reservoirActiveCellCount() == 3);
}
{
@@ -68,6 +68,6 @@ TEST(RigActiveCellInfo, GridCellCounts)
rigActiveCellInfo.setGridActiveCellCounts(2, 5 );
rigActiveCellInfo.computeDerivedData();
EXPECT_TRUE(rigActiveCellInfo.globalActiveCellCount() == 12);
EXPECT_TRUE(rigActiveCellInfo.reservoirActiveCellCount() == 12);
}
}