#912 Added Mean Stress (SM)

This commit is contained in:
Jacob Støren
2016-10-11 12:12:10 +02:00
parent aa6cc5a861
commit 1a920338cc
3 changed files with 44 additions and 1 deletions

View File

@@ -444,7 +444,7 @@ void RimGeoMechView::updateLegends()
legendTitle += ", " + cvfqt::Utils::toString(cellResult->resultComponentUiName());
}
if (cellResult->resultFieldName() == "SE" || cellResult->resultFieldName() == "ST" || cellResult->resultFieldName() == "POR-Bar")
if (cellResult->resultFieldName() == "SE" || cellResult->resultFieldName() == "ST" || cellResult->resultFieldName() == "POR-Bar" || cellResult->resultFieldName() == "SM")
{
legendTitle += " [Bar]";
}