mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Moved loading of dependent datasets
This commit is contained in:
@@ -196,32 +196,7 @@ void RimResultDefinition::loadResult()
|
||||
RimReservoirCellResultsStorage* gridCellResults = this->currentGridCellResults();
|
||||
if (gridCellResults)
|
||||
{
|
||||
if (m_resultType() == RimDefines::STATIC_NATIVE)
|
||||
{
|
||||
if (m_resultVariable().compare(RimDefines::combinedTransmissibilityResultName(), Qt::CaseInsensitive) == 0)
|
||||
{
|
||||
gridCellResults->findOrLoadScalarResult(m_resultType(), "TRANX");
|
||||
gridCellResults->findOrLoadScalarResult(m_resultType(), "TRANY");
|
||||
gridCellResults->findOrLoadScalarResult(m_resultType(), "TRANZ");
|
||||
}
|
||||
else if (m_resultVariable().compare(RimDefines::combinedMultResultName(), Qt::CaseInsensitive) == 0)
|
||||
{
|
||||
gridCellResults->findOrLoadScalarResult(m_resultType(), "MULTX");
|
||||
gridCellResults->findOrLoadScalarResult(m_resultType(), "MULTX-");
|
||||
gridCellResults->findOrLoadScalarResult(m_resultType(), "MULTY");
|
||||
gridCellResults->findOrLoadScalarResult(m_resultType(), "MULTY-");
|
||||
gridCellResults->findOrLoadScalarResult(m_resultType(), "MULTZ");
|
||||
gridCellResults->findOrLoadScalarResult(m_resultType(), "MULTZ-");
|
||||
}
|
||||
else
|
||||
{
|
||||
gridCellResults->findOrLoadScalarResult(m_resultType(), m_resultVariable);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
gridCellResults->findOrLoadScalarResult(m_resultType(), m_resultVariable);
|
||||
}
|
||||
gridCellResults->findOrLoadScalarResult(m_resultType(), m_resultVariable);
|
||||
}
|
||||
|
||||
updateFieldVisibility();
|
||||
|
||||
Reference in New Issue
Block a user