mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#405) Gamma calculation test POR < threshold needed the threshold to be in bar as well.
This commit is contained in:
parent
43dd883f63
commit
07d101353c
@ -550,7 +550,7 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::calculateDerivedResult(in
|
|||||||
|
|
||||||
float por = srcPORFrameData[nodeIdx];
|
float por = srcPORFrameData[nodeIdx];
|
||||||
|
|
||||||
if (por == inf || abs(por) < 0.01e6)
|
if (por == inf || abs(por) < 0.01e6*1.0e-5)
|
||||||
dstFrameData[elmNodResIdx] = inf;
|
dstFrameData[elmNodResIdx] = inf;
|
||||||
else
|
else
|
||||||
dstFrameData[elmNodResIdx] = srcSTFrameData[elmNodResIdx]/por;
|
dstFrameData[elmNodResIdx] = srcSTFrameData[elmNodResIdx]/por;
|
||||||
|
Loading…
Reference in New Issue
Block a user