#6052 Update component name to "SM", used to be "STM" and "SEM"

This commit is contained in:
Magne Sjaastad 2020-06-09 09:27:09 +02:00
parent 457cdae367
commit 95cc84d75a
2 changed files with 3 additions and 2 deletions

View File

@ -77,8 +77,7 @@ RigFemScalarResultFrames* RigFemPartResultCalculatorQ::calculate( int partIndex,
frameCountProgress.setNextProgressIncrement( m_resultCollection->frameCount() );
RigFemScalarResultFrames* stm =
m_resultCollection->findOrLoadScalarResult( partIndex,
RigFemResultAddress( resVarAddr.resultPosType, "ST", "STM" ) );
m_resultCollection->findOrLoadScalarResult( partIndex, RigFemResultAddress( resVarAddr.resultPosType, "ST", "SM" ) );
RigFemScalarResultFrames* dstDataFrames = m_resultCollection->createScalarResult( partIndex, resVarAddr );

View File

@ -533,6 +533,8 @@ void RimGeoMechResultDefinition::initAfterRead()
m_timeLapseBaseTimestep = RigFemResultAddress::noTimeLapseValue();
}
if ( m_resultComponentName == "STM" || m_resultComponentName == "SEM" ) m_resultComponentName = "SM";
m_resultPositionTypeUiField = m_resultPositionType;
m_resultVariableUiField = composeFieldCompString( m_resultFieldName(), m_resultComponentName() );
m_compactionRefLayerUiField = m_compactionRefLayer;