Skip to content
Snippets Groups Projects
Commit d86a37e3 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MPL] Add missing total_strain enum

parent e120c17c
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,7 @@ enum class Variable : int
solid_grain_pressure,
stress,
temperature,
total_strain,
total_stress,
transport_porosity,
vapour_pressure,
......@@ -76,6 +77,7 @@ static const std::array<std::string,
"solid_grain_pressure",
"stress",
"temperature",
"total_strain",
"total_stress",
"transport_porosity",
"vapour_pressure",
......@@ -140,6 +142,8 @@ public:
return std::visit(identity, stress);
case Variable::temperature:
return temperature;
case Variable::total_strain:
return std::visit(identity, total_strain);
case Variable::total_stress:
return std::visit(identity, total_stress);
case Variable::transport_porosity:
......
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