mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#526) Fixed problem with finding intervals for extraction curves
Infinite values from well log curve extraction should never appear for points that are filtered for plotting. Did some refactoring/code cleanup.
This commit is contained in:
@@ -68,6 +68,8 @@ protected:
|
||||
caf::PdmField<bool> m_addTimestepToCurveName;
|
||||
|
||||
private:
|
||||
static void validValuesIntervals(const std::vector<double>& values, std::vector< std::pair<size_t, size_t> >& intervals);
|
||||
static void validDepthValuesIntervals(const std::vector<double>& depthValues, size_t startIdx, size_t stopIdx, std::vector< std::pair<size_t, size_t> >& intervals);
|
||||
static void validCurvePointIntervals(const std::vector<double>& depthValues, const std::vector<double>& values, std::vector< std::pair<size_t, size_t> >& intervals);
|
||||
static void addValuesFromIntervals(const std::vector<double>& values, std::vector< std::pair<size_t, size_t> >& intervals, std::vector<double>* filteredValues);
|
||||
static void filteredIntervals(const std::vector< std::pair<size_t, size_t> >& intervals, std::vector< std::pair<size_t, size_t> >* fltrIntervals);
|
||||
|
||||
Reference in New Issue
Block a user