mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6301 Fix incorrect index for OBG0 element.
This commit is contained in:
@@ -270,7 +270,7 @@ RigFemScalarResultFrames* RigFemPartResultCalculatorMudWeightWindow::calculate(
|
||||
// Initial overburden gradient
|
||||
if ( OBG0FromGrid )
|
||||
{
|
||||
OBG0 = obg0FrameData[nodeIdx];
|
||||
OBG0 = obg0FrameData[elmNodResIdx];
|
||||
}
|
||||
|
||||
// FG is for sands, SFG for shale. Sands has valid PP, shale does not.
|
||||
|
||||
Reference in New Issue
Block a user