mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5596 Make sure new WBS plots gets the correct data parameter sources set
This commit is contained in:
parent
33243c30ce
commit
eca3531c2e
@ -78,6 +78,7 @@ RimWellBoreStabilityPlot*
|
|||||||
|
|
||||||
RimWellBoreStabilityPlot* plot =
|
RimWellBoreStabilityPlot* plot =
|
||||||
RicNewWellLogPlotFeatureImpl::createWellBoreStabilityPlot( false, "Well Bore Stability", parameters );
|
RicNewWellLogPlotFeatureImpl::createWellBoreStabilityPlot( false, "Well Bore Stability", parameters );
|
||||||
|
plot->setCaseWellPathAndTimeStep( geoMechCase, wellPath, timeStep );
|
||||||
|
|
||||||
{
|
{
|
||||||
auto task = progInfo.task( "Creating formation track", 2 );
|
auto task = progInfo.task( "Creating formation track", 2 );
|
||||||
|
@ -82,6 +82,16 @@ void RimWellBoreStabilityPlot::copyWbsParameters( const RimWbsParameters* wbsPar
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
void RimWellBoreStabilityPlot::setCaseWellPathAndTimeStep( RimGeoMechCase* geoMechCase, RimWellPath* wellPath, int timeStep )
|
||||||
|
{
|
||||||
|
m_wbsParameters->setGeoMechCase( geoMechCase );
|
||||||
|
m_wbsParameters->setWellPath( wellPath );
|
||||||
|
m_wbsParameters->setTimeStep( timeStep );
|
||||||
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -39,6 +39,7 @@ public:
|
|||||||
void applyWbsParametersToExtractor( RigGeoMechWellLogExtractor* extractor );
|
void applyWbsParametersToExtractor( RigGeoMechWellLogExtractor* extractor );
|
||||||
double userDefinedValue( const RigWbsParameter& parameter ) const;
|
double userDefinedValue( const RigWbsParameter& parameter ) const;
|
||||||
void copyWbsParameters( const RimWbsParameters* wbsParameters );
|
void copyWbsParameters( const RimWbsParameters* wbsParameters );
|
||||||
|
void setCaseWellPathAndTimeStep( RimGeoMechCase* geoMechCase, RimWellPath* wellPath, int timeStep );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||||
|
Loading…
Reference in New Issue
Block a user