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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user