#5524 Stop asking for an address with the field name "SH".

* The field name was hardcoded as "SH" and compared to the name of the SH result-string, which isn't the same as the input parameter anymore
This commit is contained in:
Gaute Lindkvist 2020-02-12 08:38:28 +01:00
parent 5e0d8e5bea
commit 5f84bd13a1

View File

@ -663,8 +663,8 @@ void RigGeoMechWellLogExtractor::wellBoreFGShale( int frameIndex, std::vector<do
else
{
std::vector<double> SH;
RigFemResultAddress addr( RIG_WELLPATH_DERIVED, "SH", "" );
curveData( addr, frameIndex, &SH );
calculateWbsParameterForAllSegments( RigWbsParameter::SH(), frameIndex, &SH );
CVF_ASSERT( SH.size() == m_intersections.size() );
double multiplier = m_userDefinedValues.at( RigWbsParameter::FG_Shale() );
CVF_ASSERT( multiplier != std::numeric_limits<double>::infinity() );
#pragma omp parallel for