mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#9439 Fix unstable location of generated well target at sea level
NB! This fix will update the location of well target at sea level, and can potentially change the MD from sea level to first user defined well target. This will affect completions defined for the modelled well, as they are defined by MD. * #9439 Make MD more predictable when toggling sea level target. * #9439 Avoid updating well path tangents when toggling sea level target * Disable IO of well target at sea level Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
This commit is contained in:
committed by
GitHub
parent
befab37588
commit
254c74be13
@@ -95,6 +95,10 @@ public:
|
||||
bool showAbsoluteCoordinates() const;
|
||||
|
||||
protected:
|
||||
std::vector<RimWellPathTarget*> activeWellTargets( bool useAutoGeneratedTargetAtSeaLevel ) const;
|
||||
cvf::ref<RigWellPath>
|
||||
createWellPathGeometry( bool useAutoGeneratedTargetAtSeaLevel, double offsetMd, bool updateTargets ) const;
|
||||
|
||||
void defineCustomContextMenu( const caf::PdmFieldHandle* fieldNeedingMenu, QMenu* menu, QWidget* fieldEditorWidget ) override;
|
||||
|
||||
void defineEditorAttribute( const caf::PdmFieldHandle* field,
|
||||
@@ -113,7 +117,8 @@ private:
|
||||
void initAfterRead() override;
|
||||
QList<caf::PdmOptionItemInfo> calculateValueOptions( const caf::PdmFieldHandle* fieldNeedingOptions ) override;
|
||||
|
||||
RiaLineArcWellPathCalculator lineArcWellPathCalculator() const;
|
||||
RiaLineArcWellPathCalculator lineArcWellPathCalculator( bool useAutoGeneratedTargetAtSeaLevel,
|
||||
bool updateTargets = true ) const;
|
||||
|
||||
void updateTargetAtSeaLevel();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user