(#337) Displaying "S" as "SE" in the GUI

This commit is contained in:
Pål Hagen 2015-06-30 15:53:51 +02:00
parent 68a7993105
commit c804a5d8b3

View File

@ -320,9 +320,9 @@ QString RimGeoMechResultDefinition::resultComponentUiName()
QString RimGeoMechResultDefinition::convertToUiResultFieldName(QString resultFieldName)
{
if (resultFieldName == "E") return "NativeAbaqus Strain";
if (resultFieldName == "S") return "NativeAbaqus Stess";
if (resultFieldName == "NE") return "E"; // Make NE and NS appear as E and S
if (resultFieldName == "NS") return "S";
if (resultFieldName == "S") return "NativeAbaqus Stress";
if (resultFieldName == "NE") return "E"; // Make NE and NS appear as E and SE
if (resultFieldName == "NS") return "SE";
return resultFieldName;
}