diff --git a/ApplicationCode/Commands/SummaryPlotCommands/RicNewGridTimeHistoryCurveFeature.cpp b/ApplicationCode/Commands/SummaryPlotCommands/RicNewGridTimeHistoryCurveFeature.cpp index e5abd5d6da..f938da37a4 100644 --- a/ApplicationCode/Commands/SummaryPlotCommands/RicNewGridTimeHistoryCurveFeature.cpp +++ b/ApplicationCode/Commands/SummaryPlotCommands/RicNewGridTimeHistoryCurveFeature.cpp @@ -177,6 +177,7 @@ QString RicNewGridTimeHistoryCurveFeature::suggestedNewPlotName() case RIG_NODAL: posName = "N"; break; case RIG_ELEMENT_NODAL: posName = "EN"; break; case RIG_INTEGRATION_POINT: posName = "IP"; break; + case RIG_ELEMENT: posName = "E"; break; } QString fieldUiName = resultDefinition->resultFieldUiName(); diff --git a/ApplicationCode/ProjectDataModel/Rim3dOverlayInfoConfig.cpp b/ApplicationCode/ProjectDataModel/Rim3dOverlayInfoConfig.cpp index 3222e35a54..c06112bdf6 100644 --- a/ApplicationCode/ProjectDataModel/Rim3dOverlayInfoConfig.cpp +++ b/ApplicationCode/ProjectDataModel/Rim3dOverlayInfoConfig.cpp @@ -597,7 +597,10 @@ QString Rim3dOverlayInfoConfig::resultInfoText(const HistogramData& histData, Ri case RIG_INTEGRATION_POINT: resultPos = "Integration point"; break; - + + case RIG_ELEMENT: + resultPos = "Element"; + break; default: break; } diff --git a/ApplicationCode/ProjectDataModel/RimGeoMechPropertyFilter.cpp b/ApplicationCode/ProjectDataModel/RimGeoMechPropertyFilter.cpp index b8d7fcb25c..f19decd54d 100644 --- a/ApplicationCode/ProjectDataModel/RimGeoMechPropertyFilter.cpp +++ b/ApplicationCode/ProjectDataModel/RimGeoMechPropertyFilter.cpp @@ -311,6 +311,7 @@ void RimGeoMechPropertyFilter::updateFilterName() case RIG_NODAL: posName = "N"; break; case RIG_ELEMENT_NODAL: posName = "EN"; break; case RIG_INTEGRATION_POINT: posName = "IP"; break; + case RIG_ELEMENT: posName = "E"; break; } QString fieldUiName = resultDefinition->resultFieldUiName(); diff --git a/ApplicationCode/UserInterface/RiuFemResultTextBuilder.cpp b/ApplicationCode/UserInterface/RiuFemResultTextBuilder.cpp index 3f996f5af0..13f8c74c28 100644 --- a/ApplicationCode/UserInterface/RiuFemResultTextBuilder.cpp +++ b/ApplicationCode/UserInterface/RiuFemResultTextBuilder.cpp @@ -244,9 +244,12 @@ void RiuFemResultTextBuilder::appendTextFromResultColors(RigGeoMechCaseData* geo int nodeIdx = elmentConn[lNodeIdx]; if (resultDefinition->resultPositionType() == RIG_NODAL) { - scalarValue = scalarResults[nodeIdx]; } + else if (resultDefinition->resultPositionType() == RIG_ELEMENT) + { + scalarValue = cellIndex; + } else { size_t resIdx = femPart->elementNodeResultIdx(cellIndex, lNodeIdx);