#2575 Use Integration Point to calculate elm avg tensor

This commit is contained in:
Rebecca Cox
2018-03-06 12:54:02 +01:00
parent 7f06f51e59
commit f4b6542f60
3 changed files with 9 additions and 47 deletions

View File

@@ -421,8 +421,7 @@ void RimGeoMechView::updateTensorLegendTextAndRanges(RimLegendConfig* legendConf
legendConfig->setClosestToZeroValues(globalPosClosestToZero, globalNegClosestToZero, localPosClosestToZero, localNegClosestToZero);
legendConfig->setAutomaticRanges(globalMin, globalMax, localMin, localMax);
QString legendTitle = "Tensors:\n" + caf::AppEnum<RigFemResultPosEnum>(tensorResults()->resultPositionType()).uiText() + "\n"
+ tensorResults()->resultFieldName();
QString legendTitle = "Tensors:\n" + RimTensorResults::uiFieldName(resFieldName);
legendConfig->setTitle(legendTitle);
}