Merge pull request #1101 from joakim-hove/allow-undefined-wells

Policy change: warn when missing well/group.
This commit is contained in:
Atgeirr Flø Rasmussen 2017-03-15 20:50:27 +01:00 committed by GitHub
commit b8adfbb52f

View File

@ -499,7 +499,9 @@ namespace Opm
// Create Deck and EclipseState.
try {
ParseContext parseContext({ { ParseContext::PARSE_RANDOM_SLASH , InputError::IGNORE },
{ ParseContext::PARSE_MISSING_DIMS_KEYWORD, InputError::WARN } });
{ ParseContext::PARSE_MISSING_DIMS_KEYWORD, InputError::WARN },
{ ParseContext::SUMMARY_UNKNOWN_WELL, InputError::WARN },
{ ParseContext::SUMMARY_UNKNOWN_GROUP, InputError::WARN }});
deck_ = std::make_shared< Deck >( parser.parseFile(deck_filename, parseContext) );
checkDeck(*deck_, parser);