mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Set main grid on eclipse case and cell results
p4#: 20955
This commit is contained in:
parent
a411a8ae59
commit
f0fa445f7a
@ -46,6 +46,9 @@ RigEclipseCase::~RigEclipseCase()
|
|||||||
void RigEclipseCase::setMainGrid(RigMainGrid* mainGrid)
|
void RigEclipseCase::setMainGrid(RigMainGrid* mainGrid)
|
||||||
{
|
{
|
||||||
m_mainGrid = mainGrid;
|
m_mainGrid = mainGrid;
|
||||||
|
|
||||||
|
m_matrixModelResults->setMainGrid(m_mainGrid.p());
|
||||||
|
m_fractureModelResults->setMainGrid(m_mainGrid.p());
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -33,6 +33,15 @@ RigReservoirCellResults::RigReservoirCellResults(RigMainGrid* ownerGrid)
|
|||||||
m_ownerMainGrid = ownerGrid;
|
m_ownerMainGrid = ownerGrid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
void RigReservoirCellResults::setMainGrid(RigMainGrid* ownerGrid)
|
||||||
|
{
|
||||||
|
m_ownerMainGrid = ownerGrid;
|
||||||
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -38,6 +38,8 @@ public:
|
|||||||
//void setReaderInterface(RifReaderInterface* readerInterface);
|
//void setReaderInterface(RifReaderInterface* readerInterface);
|
||||||
//RifReaderInterface* readerInterface();
|
//RifReaderInterface* readerInterface();
|
||||||
|
|
||||||
|
void setMainGrid(RigMainGrid* ownerGrid);
|
||||||
|
|
||||||
// Max and min values of the results
|
// Max and min values of the results
|
||||||
void recalculateMinMax(size_t scalarResultIndex);
|
void recalculateMinMax(size_t scalarResultIndex);
|
||||||
void minMaxCellScalarValues(size_t scalarResultIndex, double& min, double& max);
|
void minMaxCellScalarValues(size_t scalarResultIndex, double& min, double& max);
|
||||||
|
Loading…
Reference in New Issue
Block a user