mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Build result child nodes after the placeholder entries have been created
This commit is contained in:
parent
5f962ae89d
commit
a3036a1b37
@ -954,8 +954,6 @@ bool RimEclipseCase::openReserviorCase()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( m_resultAddressCollections.empty() ) buildResultChildNodes();
|
|
||||||
|
|
||||||
if ( eclipseCaseData() && eclipseCaseData()->mainGrid() && !eclipseCaseData()->mainGrid()->hasValidCharacteristicCellSizes() )
|
if ( eclipseCaseData() && eclipseCaseData()->mainGrid() && !eclipseCaseData()->mainGrid()->hasValidCharacteristicCellSizes() )
|
||||||
{
|
{
|
||||||
RigMainGrid* mainGrid = eclipseCaseData()->mainGrid();
|
RigMainGrid* mainGrid = eclipseCaseData()->mainGrid();
|
||||||
@ -986,9 +984,7 @@ bool RimEclipseCase::openReserviorCase()
|
|||||||
|
|
||||||
if ( createPlaceholderEntries )
|
if ( createPlaceholderEntries )
|
||||||
{
|
{
|
||||||
{
|
if ( RigCaseCellResultsData* results = this->results( RiaDefines::PorosityModelType::MATRIX_MODEL ) )
|
||||||
RigCaseCellResultsData* results = this->results( RiaDefines::PorosityModelType::MATRIX_MODEL );
|
|
||||||
if ( results )
|
|
||||||
{
|
{
|
||||||
results->createPlaceholderResultEntries();
|
results->createPlaceholderResultEntries();
|
||||||
// After the placeholder result for combined transmissibility is created,
|
// After the placeholder result for combined transmissibility is created,
|
||||||
@ -1023,16 +1019,15 @@ bool RimEclipseCase::openReserviorCase()
|
|||||||
eclipseCaseData()->mainGrid()->nncData()->setEclResultAddress( RiaDefines::propertyNameFluxGas(), combinedGasFluxResAddr );
|
eclipseCaseData()->mainGrid()->nncData()->setEclResultAddress( RiaDefines::propertyNameFluxGas(), combinedGasFluxResAddr );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
{
|
if ( RigCaseCellResultsData* results = this->results( RiaDefines::PorosityModelType::FRACTURE_MODEL ) )
|
||||||
RigCaseCellResultsData* results = this->results( RiaDefines::PorosityModelType::FRACTURE_MODEL );
|
|
||||||
if ( results )
|
|
||||||
{
|
{
|
||||||
results->createPlaceholderResultEntries();
|
results->createPlaceholderResultEntries();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
// Build result child nodes after the placeholder entries have been created
|
||||||
|
if ( m_resultAddressCollections.empty() ) buildResultChildNodes();
|
||||||
|
|
||||||
createTimeStepFormatString();
|
createTimeStepFormatString();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user