mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-10 00:05:33 -06:00
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:
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;
|
||||
}
|
||||
Reference in new issue
Block a user