mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
CellEdge: Fixed trouble with mixup of MULT and riMULT
This commit is contained in:
parent
03a9bf459d
commit
0c1588435a
@ -222,7 +222,7 @@ QStringList RimCellEdgeResultSlot::findResultVariableNames()
|
||||
{
|
||||
if (RimDefines::isPerCellFaceResult(varList[i])) continue;
|
||||
|
||||
if (varList[i].contains(resultVariable))
|
||||
if (varList[i].startsWith(resultVariable))
|
||||
{
|
||||
varNames.append(varList[i]);
|
||||
}
|
||||
@ -292,7 +292,7 @@ bool RimCellEdgeResultSlot::hasResult() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimCellEdgeResultSlot::updateIgnoredScalarValue()
|
||||
{
|
||||
if (resultVariable == "MULT")
|
||||
if (resultVariable == "MULT" || resultVariable == "riMULT")
|
||||
{
|
||||
m_ignoredResultScalar = 1.0;
|
||||
}
|
||||
|
@ -296,6 +296,7 @@ size_t RimReservoirCellResultsStorage::findOrLoadScalarResult(RimDefines::Result
|
||||
computeRiMULTComponent(RimDefines::riMultXResultName());
|
||||
computeRiMULTComponent(RimDefines::riMultYResultName());
|
||||
computeRiMULTComponent(RimDefines::riMultZResultName());
|
||||
computeNncCombRiTrans();
|
||||
computeNncCombRiMULT();
|
||||
}
|
||||
else if (resultName == RimDefines::riMultXResultName()
|
||||
|
Loading…
Reference in New Issue
Block a user