Added RigActiveCellInfo

Started refactoring aiming for extracting all active cell information into RigActiveCellInfo.
p4#: 20445
This commit is contained in:
Magne Sjaastad
2013-02-11 15:12:53 +01:00
parent c77f1879eb
commit 8fd8a31aec
12 changed files with 132 additions and 41 deletions

View File

@@ -230,7 +230,7 @@ void StructGridInterface::characteristicCellSizes(double* iSize, double* jSize,
size_t i;
for (i = 0; i < cellCountI(); i += 10) // NB! Evaluate every n-th cell
{
if (isCellActive(i, j, k))
if (isCellValid(i, j, k))
{
size_t cellIndex = cellIndexFromIJK(i, j, k);
cellCornerVertices(cellIndex, cornerVerts);

View File

@@ -57,7 +57,6 @@ public:
size_t cellCountK() const;
virtual bool isCellValid(size_t i, size_t j, size_t k) const = 0;
virtual bool isCellActive(size_t i, size_t j, size_t k) const = 0;
virtual cvf::Vec3d minCoordinate() const = 0;
virtual cvf::Vec3d maxCoordinate() const = 0;