mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4584 Add first implementation of text based curve generation in Summary Plot
This commit is contained in:
@@ -310,6 +310,26 @@ QString RimGridTimeHistoryCurve::caseName() const
|
||||
return "";
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimCase* RimGridTimeHistoryCurve::gridCase() const
|
||||
{
|
||||
RimEclipseGeometrySelectionItem* eclTopItem = eclipseGeomSelectionItem();
|
||||
if ( eclTopItem && eclTopItem->eclipseCase() )
|
||||
{
|
||||
return eclTopItem->eclipseCase();
|
||||
}
|
||||
|
||||
RimGeoMechGeometrySelectionItem* geoMechTopItem = geoMechGeomSelectionItem();
|
||||
if ( geoMechTopItem && geoMechTopItem->geoMechCase() )
|
||||
{
|
||||
return geoMechTopItem->geoMechCase();
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user