mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-02 04:26:55 -06:00
adapt to the removal of the "strict parsing" concept
This commit is contained in:
parent
c19348841d
commit
47fe10e8fb
@ -113,8 +113,7 @@ try
|
|||||||
std::string deck_filename = param.get<std::string>("deck_filename");
|
std::string deck_filename = param.get<std::string>("deck_filename");
|
||||||
|
|
||||||
Opm::ParserPtr newParser(new Opm::Parser());
|
Opm::ParserPtr newParser(new Opm::Parser());
|
||||||
bool strict_parsing = param.getDefault("strict_parsing", true);
|
Opm::DeckConstPtr deck = newParser->parseFile(deck_filename);
|
||||||
Opm::DeckConstPtr deck = newParser->parseFile(deck_filename, strict_parsing);
|
|
||||||
std::shared_ptr<EclipseState> eclipseState(new EclipseState(deck));
|
std::shared_ptr<EclipseState> eclipseState(new EclipseState(deck));
|
||||||
// Grid init
|
// Grid init
|
||||||
std::vector<double> porv;
|
std::vector<double> porv;
|
||||||
|
@ -108,8 +108,7 @@ try
|
|||||||
std::string deck_filename = param.get<std::string>("deck_filename");
|
std::string deck_filename = param.get<std::string>("deck_filename");
|
||||||
|
|
||||||
Opm::ParserPtr newParser(new Opm::Parser() );
|
Opm::ParserPtr newParser(new Opm::Parser() );
|
||||||
bool strict_parsing = param.getDefault("strict_parsing", true);
|
Opm::DeckConstPtr deck = newParser->parseFile(deck_filename);
|
||||||
Opm::DeckConstPtr deck = newParser->parseFile(deck_filename, strict_parsing);
|
|
||||||
std::shared_ptr<EclipseState> eclipseState(new EclipseState(deck));
|
std::shared_ptr<EclipseState> eclipseState(new EclipseState(deck));
|
||||||
|
|
||||||
// Grid init
|
// Grid init
|
||||||
|
Loading…
Reference in New Issue
Block a user