mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8052 StimPlan Model Plot: tweak default shown tracks.
This commit is contained in:
@@ -161,28 +161,6 @@ void RimStimPlanModelPlot::onLoadDataAndUpdate()
|
||||
m_eclipseCase = stimPlanModel()->eclipseCaseForProperty( RiaDefines::CurveProperty::UNDEFINED );
|
||||
m_timeStep = stimPlanModel()->timeStep();
|
||||
updateConnectedEditors();
|
||||
|
||||
// Enable and disable detailed fluid loss curves
|
||||
std::vector<RiaDefines::CurveProperty> fluidLossCurves = { RiaDefines::CurveProperty::PORO_ELASTIC_CONSTANT,
|
||||
RiaDefines::CurveProperty::RELATIVE_PERMEABILITY_FACTOR,
|
||||
RiaDefines::CurveProperty::THERMAL_EXPANSION_COEFFICIENT,
|
||||
RiaDefines::CurveProperty::IMMOBILE_FLUID_SATURATION };
|
||||
|
||||
bool detailedFluidLoss = stimPlanModel()->useDetailedFluidLoss();
|
||||
|
||||
for ( auto curveProperty : fluidLossCurves )
|
||||
{
|
||||
RimWellLogExtractionCurve* curve = findCurveByProperty( curveProperty );
|
||||
if ( curve )
|
||||
{
|
||||
RimWellLogTrack* track = nullptr;
|
||||
curve->firstAncestorOfType( track );
|
||||
if ( track )
|
||||
{
|
||||
track->setShowWindow( detailedFluidLoss );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
RimDepthTrackPlot::onLoadDataAndUpdate();
|
||||
|
||||
Reference in New Issue
Block a user