From 56868d8a6e57cc57eb8128859d1c3e9359388ef0 Mon Sep 17 00:00:00 2001 From: Liu Ming Date: Mon, 25 Jan 2016 11:13:19 +0800 Subject: [PATCH] Add more parser mode options. --- examples/diagnose_relperm.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/diagnose_relperm.cpp b/examples/diagnose_relperm.cpp index bbbeb5f0..1750ec6a 100644 --- a/examples/diagnose_relperm.cpp +++ b/examples/diagnose_relperm.cpp @@ -65,7 +65,11 @@ try ParserPtr parser(new Opm::Parser); Opm::ParseMode parseMode({{ ParseMode::PARSE_RANDOM_SLASH , InputError::IGNORE }, { ParseMode::PARSE_UNKNOWN_KEYWORD, InputError::IGNORE}, - { ParseMode::PARSE_RANDOM_TEXT, InputError::IGNORE} + { ParseMode::PARSE_RANDOM_TEXT, InputError::IGNORE}, + { ParseMode::UNSUPPORTED_SCHEDULE_GEO_MODIFIER, InputError::IGNORE}, + { ParseMode::UNSUPPORTED_COMPORD_TYPE, InputError::IGNORE}, + { ParseMode::UNSUPPORTED_INITIAL_THPRES, InputError::IGNORE}, + { ParseMode::INTERNAL_ERROR_UNINITIALIZED_THPRES, InputError::IGNORE} }); Opm::DeckConstPtr deck(parser->parseFile(eclipseFilename, parseMode)); eclState.reset(new EclipseState(deck, parseMode));