changed: put partially supported keywords in separate compile unit

avoid triggering full simulator rebuilds when updating
this list
This commit is contained in:
Arne Morten Kvarving
2021-05-12 13:22:09 +02:00
parent 306593af3b
commit ca1a799e95
4 changed files with 78 additions and 38 deletions

View File

@@ -206,8 +206,8 @@ void readDeck(int rank, std::string& deckFilename, std::unique_ptr<Opm::Deck>& d
Opm::KeywordValidation::KeywordValidator keyword_validator(
Opm::FlowKeywordValidation::unsupportedKeywords(),
Opm::FlowKeywordValidation::partially_supported_keywords_strings,
Opm::FlowKeywordValidation::partially_supported_keywords_int);
Opm::FlowKeywordValidation::partiallySupported<std::string>(),
Opm::FlowKeywordValidation::partiallySupported<int>());
keyword_validator.validateDeck(*deck, *parseContext, *errorGuard);
if ( checkDeck )