mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5283 Fixed error in Allen diagram for NNC's with same formation on both sides.
This commit is contained in:
@@ -3083,18 +3083,15 @@ void RigCaseCellResultsData::computeAllenResults( RigCaseCellResultsData* cellRe
|
|||||||
|
|
||||||
formationCombinationToCategory[formationCombination] = category;
|
formationCombinationToCategory[formationCombination] = category;
|
||||||
}
|
}
|
||||||
}
|
fnBinAllenNncResults[i] = 1.0;
|
||||||
|
|
||||||
if ( category < 0 )
|
|
||||||
{
|
|
||||||
fnBinAllenNncResults[i] = 0.0;
|
|
||||||
fnAllenNncResults[i] = std::numeric_limits<double>::max();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fnBinAllenNncResults[i] = 1.0;
|
category = formation1;
|
||||||
fnAllenNncResults[i] = category;
|
fnBinAllenNncResults[i] = 0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fnAllenNncResults[i] = category;
|
||||||
}
|
}
|
||||||
|
|
||||||
cellResultsData->allenDiagramData()->setFormationCombinationToCategorymap( formationCombinationToCategory );
|
cellResultsData->allenDiagramData()->setFormationCombinationToCategorymap( formationCombinationToCategory );
|
||||||
|
|||||||
Reference in New Issue
Block a user