mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7742 Contour map : Fix mix of global grid and result index
Always use globalGridCellIndex for grid cells Always use resultGridIndex for result property vectors
This commit is contained in:
@@ -142,6 +142,7 @@ protected:
|
||||
const cvf::Vec3d& lowestPoint ) const = 0;
|
||||
virtual double getParameterWeightForCell( size_t globalCellIdx, const std::vector<double>& parameterWeights ) const = 0;
|
||||
|
||||
// Use this function to get the result index into grid cell results. The index will differ if we have active cells
|
||||
virtual size_t gridResultIndex( size_t globalCellIdx ) const;
|
||||
|
||||
double calculateValueInMapCell( uint i, uint j, const std::vector<double>& gridCellValues ) const;
|
||||
|
||||
Reference in New Issue
Block a user