mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7158 Fix water depth calculation for WBS plot.
The first intersection between the well path and the GeoMech model is the correct water depth only when well path starts outside the model. Top of the bounding box is used as an estimated water depth when there is no intersection. WBS curves are now disabled for this case.
This commit is contained in:
committed by
Magne Sjaastad
parent
ee29349d5e
commit
d73bd60825
@@ -41,6 +41,8 @@ public:
|
||||
void copyWbsParameters( const RimWbsParameters* wbsParameters );
|
||||
void setCaseWellPathAndTimeStep( RimGeoMechCase* geoMechCase, RimWellPath* wellPath, int timeStep );
|
||||
|
||||
QString createAutoName() const override;
|
||||
|
||||
protected:
|
||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||
|
||||
@@ -53,4 +55,5 @@ private:
|
||||
|
||||
private:
|
||||
caf::PdmChildField<RimWbsParameters*> m_wbsParameters;
|
||||
double m_waterDepth;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user