From 5be01bad24d27d6bdcef8ff9d724c1d5d2bd6c3c Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Thu, 14 Mar 2019 14:56:10 +0100
Subject: [PATCH] [MPL] PropertyType: Add storage.

---
 MaterialLib/MPL/PropertyType.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/MaterialLib/MPL/PropertyType.h b/MaterialLib/MPL/PropertyType.h
index 1384d663186..5730b892326 100644
--- a/MaterialLib/MPL/PropertyType.h
+++ b/MaterialLib/MPL/PropertyType.h
@@ -67,6 +67,7 @@ enum PropertyType : int
     residual_liquid_saturation,
     saturation,
     specific_heat_capacity,
+    storage,
     thermal_conductivity,
     thermal_expansivity,
     thermal_longitudinal_dispersivity,
@@ -208,6 +209,10 @@ inline PropertyType convertStringToProperty(std::string const& inString)
     {
         return PropertyType::specific_heat_capacity;
     }
+    if (boost::iequals(inString, "storage"))
+    {
+        return PropertyType::storage;
+    }
     if (boost::iequals(inString, "thermal_conductivity"))
     {
         return PropertyType::thermal_conductivity;
@@ -273,6 +278,7 @@ static const std::array<std::string, PropertyType::number_of_properties>
                              "residual_liquid_saturation",
                              "saturation",
                              "specific_heat_capacity",
+                             "storage",
                              "thermal_conductivity",
                              "thermal_expansivity",
                              "thermal_longitudinal_dispersivity",
-- 
GitLab