mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
StimPlan Model Calculator: Add more error checking for stress calculation.
This commit is contained in:
committed by
Magne Sjaastad
parent
1465b179c5
commit
3b383f1a57
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user