mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5159 Make user defined shale PP proportional to hydrostatic PP
This commit is contained in:
@@ -305,6 +305,14 @@ std::vector<RigGeoMechWellLogExtractor::WbsParameterSource>
|
||||
finalSourcesPerSegment[intersectionIdx] = RigWbsParameter::HYDROSTATIC;
|
||||
break;
|
||||
}
|
||||
else if ( *it == RigWbsParameter::USER_DEFINED && isPPresult )
|
||||
{
|
||||
( *outputValues )[intersectionIdx] = userDefinedValue *
|
||||
hydroStaticPorePressureForSegment( intersectionIdx );
|
||||
finalSourcesPerSegment[intersectionIdx] = RigWbsParameter::USER_DEFINED;
|
||||
break;
|
||||
}
|
||||
|
||||
else if ( *it == RigWbsParameter::USER_DEFINED )
|
||||
{
|
||||
( *outputValues )[intersectionIdx] = userDefinedValue;
|
||||
|
||||
Reference in New Issue
Block a user