Skip to content
Snippets Groups Projects
Commit ee4aeabe authored by Tom Fischer's avatar Tom Fischer Committed by Dmitri Naumov
Browse files

[Mat/MPL] Readability: Rename 'u'->'displacement'.

parent 11ae7f29
No related branches found
No related tags found
No related merge requests found
...@@ -41,9 +41,9 @@ Variable convertStringToVariable(std::string const& input) ...@@ -41,9 +41,9 @@ Variable convertStringToVariable(std::string const& input)
{ {
return Variable::liquid_saturation; return Variable::liquid_saturation;
} }
if (boost::iequals(input, "u")) if (boost::iequals(input, "displacement"))
{ {
return Variable::u; return Variable::displacement;
} }
OGS_FATAL( OGS_FATAL(
......
...@@ -45,7 +45,7 @@ enum Variable : int ...@@ -45,7 +45,7 @@ enum Variable : int
liquid_density, liquid_density,
temperature, temperature,
liquid_saturation, liquid_saturation,
u, displacement,
number_of_variables number_of_variables
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment