Skip to content
Snippets Groups Projects
Commit 5be01bad authored by Tom Fischer's avatar Tom Fischer
Browse files

[MPL] PropertyType: Add storage.

parent e5231262
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,7 @@ enum PropertyType : int ...@@ -67,6 +67,7 @@ enum PropertyType : int
residual_liquid_saturation, residual_liquid_saturation,
saturation, saturation,
specific_heat_capacity, specific_heat_capacity,
storage,
thermal_conductivity, thermal_conductivity,
thermal_expansivity, thermal_expansivity,
thermal_longitudinal_dispersivity, thermal_longitudinal_dispersivity,
...@@ -208,6 +209,10 @@ inline PropertyType convertStringToProperty(std::string const& inString) ...@@ -208,6 +209,10 @@ inline PropertyType convertStringToProperty(std::string const& inString)
{ {
return PropertyType::specific_heat_capacity; return PropertyType::specific_heat_capacity;
} }
if (boost::iequals(inString, "storage"))
{
return PropertyType::storage;
}
if (boost::iequals(inString, "thermal_conductivity")) if (boost::iequals(inString, "thermal_conductivity"))
{ {
return PropertyType::thermal_conductivity; return PropertyType::thermal_conductivity;
...@@ -273,6 +278,7 @@ static const std::array<std::string, PropertyType::number_of_properties> ...@@ -273,6 +278,7 @@ static const std::array<std::string, PropertyType::number_of_properties>
"residual_liquid_saturation", "residual_liquid_saturation",
"saturation", "saturation",
"specific_heat_capacity", "specific_heat_capacity",
"storage",
"thermal_conductivity", "thermal_conductivity",
"thermal_expansivity", "thermal_expansivity",
"thermal_longitudinal_dispersivity", "thermal_longitudinal_dispersivity",
......
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