mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3958 Refactoring: Rename to findOrLoadKnownScalarResult
to make it clear that it does not add a result name to the internal structures.
This commit is contained in:
@@ -186,16 +186,16 @@ std::vector<double> RimEclipseContourMapProjection::generateResults(int timeStep
|
||||
if (isColumnResult())
|
||||
{
|
||||
m_currentResultName = "";
|
||||
resultData->findOrLoadScalarResult(RiaDefines::STATIC_NATIVE, "PORO");
|
||||
resultData->findOrLoadScalarResult(RiaDefines::STATIC_NATIVE, "NTG");
|
||||
resultData->findOrLoadScalarResult(RiaDefines::STATIC_NATIVE, "DZ");
|
||||
resultData->findOrLoadKnownScalarResult(RiaDefines::STATIC_NATIVE, "PORO");
|
||||
resultData->findOrLoadKnownScalarResult(RiaDefines::STATIC_NATIVE, "NTG");
|
||||
resultData->findOrLoadKnownScalarResult(RiaDefines::STATIC_NATIVE, "DZ");
|
||||
if (m_resultAggregation == RESULTS_OIL_COLUMN || m_resultAggregation == RESULTS_HC_COLUMN)
|
||||
{
|
||||
resultData->findOrLoadScalarResultForTimeStep(RiaDefines::DYNAMIC_NATIVE, "SOIL", timeStep);
|
||||
resultData->findOrLoadKnownScalarResultForTimeStep(RiaDefines::DYNAMIC_NATIVE, "SOIL", timeStep);
|
||||
}
|
||||
if (m_resultAggregation == RESULTS_GAS_COLUMN || m_resultAggregation == RESULTS_HC_COLUMN)
|
||||
{
|
||||
resultData->findOrLoadScalarResultForTimeStep(RiaDefines::DYNAMIC_NATIVE, "SGAS", timeStep);
|
||||
resultData->findOrLoadKnownScalarResultForTimeStep(RiaDefines::DYNAMIC_NATIVE, "SGAS", timeStep);
|
||||
}
|
||||
gridResultValues = calculateColumnResult(m_resultAggregation());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user