mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added RigActiveCellInfo
Started refactoring aiming for extracting all active cell information into RigActiveCellInfo. p4#: 20445
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user