mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Improve encapsulation of RigEclipseResultInfo
* To make it more suitable for looking up results.
This commit is contained in:
@@ -251,10 +251,10 @@ void RimIdenticalGridCaseGroup::loadMainCaseAndActiveCellInfo()
|
||||
|
||||
for (size_t resIdx = 0; resIdx < resultInfos.size(); resIdx++)
|
||||
{
|
||||
RiaDefines::ResultCatType resultType = resultInfos[resIdx].m_resultType;
|
||||
QString resultName = resultInfos[resIdx].m_resultName;
|
||||
bool needsToBeStored = resultInfos[resIdx].m_needsToBeStored;
|
||||
bool mustBeCalculated = resultInfos[resIdx].m_mustBeCalculated;
|
||||
RiaDefines::ResultCatType resultType = resultInfos[resIdx].resultType();
|
||||
QString resultName = resultInfos[resIdx].resultName();
|
||||
bool needsToBeStored = resultInfos[resIdx].needsToBeStored();
|
||||
bool mustBeCalculated = resultInfos[resIdx].mustBeCalculated();
|
||||
|
||||
size_t scalarResultIndex = cellResultsStorage->findScalarResultIndex(resultType, resultName);
|
||||
if (scalarResultIndex == cvf::UNDEFINED_SIZE_T)
|
||||
|
||||
Reference in New Issue
Block a user