StimPlan Model Calculator: Add more error checking for stress calculation.

This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2021-05-20 07:18:44 +02:00
1 parent 1465b179c5
commit 3b383f1a57
2 files changed
+84 -36

No files matched your search

@@ -116,6 +116,11 @@ protected:
double verticalStressRef,
double verticalStressGradientRef );
static bool isValidInputData( const std::vector<double>& values,
const QString& propertyName,
const std::vector<std::pair<size_t, size_t>>& layerBoundaryIndexes,
const std::vector<std::pair<double, double>>& layerBoundaryDepths );
private:
RimStimPlanModel* m_stimPlanModel;
std::vector<std::unique_ptr<RimStimPlanModelPropertyCalculator>> m_resultCalculators;