diff --git a/MaterialLib/MPL/VariableType.h b/MaterialLib/MPL/VariableType.h index 109668f57938a4261d4971528a84d18e7f83cc27..5bf2cf5e812673b039b8e783994fb58f11209536 100644 --- a/MaterialLib/MPL/VariableType.h +++ b/MaterialLib/MPL/VariableType.h @@ -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: