Skip to content

Commit

Permalink
API changes opm-common
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Dec 19, 2024
1 parent 75d399d commit dc162c6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ApplicationLibCode/ProjectDataModel/RiaOpmParserTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include "opm/common/utility/OpmInputError.hpp"
#include "opm/input/eclipse/Deck/Deck.hpp"
#include "opm/input/eclipse/Parser/InputErrorAction.hpp"
#include "opm/input/eclipse/Parser/ParseContext.hpp"
#include "opm/input/eclipse/Parser/Parser.hpp"
#include "opm/input/eclipse/Parser/ParserKeywords/G.hpp"
Expand Down Expand Up @@ -115,7 +116,7 @@ std::pair<std::vector<Opm::VFPProdTable>, std::vector<Opm::VFPInjTable>> extract
parser.addParserKeyword( kw );
}

Opm::ParseContext parseContext( Opm::InputError::Action::WARN );
Opm::ParseContext parseContext( Opm::InputErrorAction::WARN );
auto deck = parser.parseFile( dataDeckFilename, parseContext );

{
Expand Down Expand Up @@ -174,7 +175,7 @@ std::map<std::string, std::vector<std::pair<int, int>>> extractWseglink( const s
parser.addParserKeyword( kw3 );

std::stringstream ss;
Opm::ParseContext parseContext( Opm::InputError::Action::WARN );
Opm::ParseContext parseContext( Opm::InputErrorAction::WARN );
auto deck = parser.parseFile( filename, parseContext );

std::string keyword = "WSEGLINK";
Expand Down Expand Up @@ -246,7 +247,7 @@ std::vector<RiaOpmParserTools::AicdTemplateValues> extractWsegAicd( const std::s
parser.addParserKeyword( kw3 );

std::stringstream ss;
Opm::ParseContext parseContext( Opm::InputError::Action::WARN );
Opm::ParseContext parseContext( Opm::InputErrorAction::WARN );
auto deck = parser.parseFile( filename, parseContext );

const std::string keyword = "WSEGAICD";
Expand Down

0 comments on commit dc162c6

Please sign in to comment.