From 95ab7038ea360f10a764503bea7defb5a428d65a Mon Sep 17 00:00:00 2001 From: Liu Ming Date: Mon, 22 Aug 2016 16:14:37 +0800 Subject: [PATCH] Rename addUnsupported to addSupported. --- opm/autodiff/MissingFeatures.cpp | 14 +++++++------- opm/autodiff/MissingFeatures.hpp | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/opm/autodiff/MissingFeatures.cpp b/opm/autodiff/MissingFeatures.cpp index 905d9f3ee..ab5aa7027 100644 --- a/opm/autodiff/MissingFeatures.cpp +++ b/opm/autodiff/MissingFeatures.cpp @@ -37,7 +37,7 @@ namespace MissingFeatures { template - void addUnsupported(std::multimap >& map, T itemValue) + void addSupported(std::multimap >& map, T itemValue) { std::pair > pair({Keyword::keywordName, PartiallySupported{Item::itemName , itemValue}}); map.insert(pair); @@ -91,12 +91,12 @@ namespace MissingFeatures { "WTEST", "WTRACER", "ZIPPY2" }; std::multimap > string_options; std::multimap > int_options; - addUnsupported(string_options , "TRACK"); - addUnsupported(string_options, "NODIR"); - addUnsupported(string_options, "REVER"); - addUnsupported(string_options, "GAP"); - addUnsupported(string_options, "TOPBOT"); - addUnsupported(int_options , 0); + addSupported(string_options , "DEPTH"); + addSupported(string_options, "NODIR"); + addSupported(string_options, "REVER"); + addSupported(string_options, "GAP"); + addSupported(string_options, "TOPBOT"); + addSupported(int_options , 0); // check deck and keyword for flow and parser. for (size_t idx = 0; idx < deck.size(); ++idx) { diff --git a/opm/autodiff/MissingFeatures.hpp b/opm/autodiff/MissingFeatures.hpp index f8188b7bd..b3cfbb11a 100644 --- a/opm/autodiff/MissingFeatures.hpp +++ b/opm/autodiff/MissingFeatures.hpp @@ -31,7 +31,7 @@ namespace MissingFeatures { }; template - void addUnsupported(std::multimap >& map, T itemValue); + void addSupported(std::multimap >& map, T itemValue); template void checkOptions(const DeckKeyword& keyword, std::multimap >& map);