#4669 Add unit test for RigHexGradientTools.

This commit is contained in:
Kristian Bendiksen
2020-01-22 12:26:41 +01:00
parent cb6fdd5532
commit 5556fb39b1
4 changed files with 433 additions and 8 deletions

View File

@@ -1007,7 +1007,7 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::calculateStressGradient(
RigFemScalarResultFrames* inputResultFrames =
this->findOrLoadScalarResult( partIndex,
RigFemResultAddress( resVarAddr.resultPosType, "SE", componentName.toStdString() ) );
RigFemResultAddress( resVarAddr.resultPosType, "ST", componentName.toStdString() ) );
RigFemScalarResultFrames* dataFramesX = m_femPartResults[partIndex]->createScalarResult(
RigFemResultAddress( resVarAddr.resultPosType, resVarAddr.fieldName, componentName.toStdString() + "-x" ) );