mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 15:26:48 -06:00
Minor tweaks after review.
This commit is contained in:
parent
9f92f15279
commit
412df0f33b
@ -263,22 +263,13 @@ void RicNewFractureModelPlotFeature::createFaciesTrack( RimFractureModelPlot* pl
|
||||
RimEclipseCase* eclipseCase )
|
||||
{
|
||||
RimFractureModelTemplate* fractureModelTemplate = fractureModel->fractureModelTemplate();
|
||||
if ( !fractureModelTemplate )
|
||||
{
|
||||
return;
|
||||
}
|
||||
if ( !fractureModelTemplate ) return;
|
||||
|
||||
RimFaciesProperties* faciesProperties = fractureModelTemplate->faciesProperties();
|
||||
if ( !faciesProperties )
|
||||
{
|
||||
return;
|
||||
}
|
||||
if ( !faciesProperties ) return;
|
||||
|
||||
const RimEclipseResultDefinition* faciesDefinition = faciesProperties->faciesDefinition();
|
||||
if ( !faciesDefinition )
|
||||
{
|
||||
return;
|
||||
}
|
||||
if ( !faciesDefinition ) return;
|
||||
|
||||
RimWellLogTrack* faciesTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack( false, "Facies", plot );
|
||||
faciesTrack->setFormationWellPath( fractureModel->thicknessDirectionWellPath() );
|
||||
@ -291,10 +282,7 @@ void RicNewFractureModelPlotFeature::createFaciesTrack( RimFractureModelPlot* pl
|
||||
faciesTrack->setPlotTitleVisible( true );
|
||||
|
||||
RimColorLegend* faciesColors = faciesProperties->colorLegend();
|
||||
if ( faciesColors )
|
||||
{
|
||||
faciesTrack->setColorShadingLegend( faciesColors );
|
||||
}
|
||||
if ( faciesColors ) faciesTrack->setColorShadingLegend( faciesColors );
|
||||
|
||||
faciesTrack->setVisibleXRange( 0.0, 0.0 );
|
||||
faciesTrack->setColSpan( RimPlot::ONE );
|
||||
@ -341,22 +329,13 @@ void RicNewFractureModelPlotFeature::createLayersTrack( RimFractureModelPlot* pl
|
||||
faciesTrack->setPlotTitleVisible( true );
|
||||
|
||||
RimFractureModelTemplate* fractureModelTemplate = fractureModel->fractureModelTemplate();
|
||||
if ( !fractureModelTemplate )
|
||||
{
|
||||
return;
|
||||
}
|
||||
if ( !fractureModelTemplate ) return;
|
||||
|
||||
RimFaciesProperties* faciesProperties = fractureModelTemplate->faciesProperties();
|
||||
if ( !faciesProperties )
|
||||
{
|
||||
return;
|
||||
}
|
||||
if ( !faciesProperties ) return;
|
||||
|
||||
RimColorLegend* faciesColors = faciesProperties->colorLegend();
|
||||
if ( faciesColors )
|
||||
{
|
||||
faciesTrack->setColorShadingLegend( faciesColors );
|
||||
}
|
||||
if ( faciesColors ) faciesTrack->setColorShadingLegend( faciesColors );
|
||||
|
||||
faciesTrack->setVisibleXRange( 0.0, 0.0 );
|
||||
faciesTrack->setColSpan( RimPlot::ONE );
|
||||
|
@ -101,6 +101,7 @@ protected:
|
||||
QString uiConfigName,
|
||||
caf::PdmUiEditorAttribute* attribute ) override;
|
||||
|
||||
private:
|
||||
static RimEclipseCase* getEclipseCase();
|
||||
static RigEclipseCaseData* getEclipseCaseData();
|
||||
|
||||
@ -108,7 +109,6 @@ protected:
|
||||
|
||||
static double computeDefaultStressDepth();
|
||||
|
||||
protected:
|
||||
caf::PdmField<int> m_id;
|
||||
caf::PdmField<double> m_defaultPorosity;
|
||||
caf::PdmField<double> m_defaultPermeability;
|
||||
|
Loading…
Reference in New Issue
Block a user