Exclude inactive cells from contour map calculations

* Adds safety check for value index
* Filters inactive cells from contour map calculation
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2025-08-29 16:33:34 +02:00
1 parent d8566b679f
commit 7653bd80f3
9 files changed
+68 -1

No files matched your search

@@ -139,3 +139,12 @@ std::vector<std::pair<size_t, double>> RigStatisticsContourMapProjection::cellsA
return std::vector<std::pair<size_t, double>>();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RigStatisticsContourMapProjection::isCellActive( size_t globalCellIdx ) const
{
// For statistics projections, all cells are considered active
return true;
}