mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 23:20:12 -05:00
sim_fibo_ad: completely replace the old eclipse parser by the new one
this required to abandon the "Epoch" stuff which the new parser does not have (as well as the ECLIPSE file format knows nothing about epochs). Handling well controls properly thus has to wait until Joakim and Kristian finish refurbishing the WellsManager, so as a stop-gap measure, only the first "epoch" is run.
This commit is contained in:
1 parent
198f805c2a
commit
6b0e1d4562
2 files changed
+44
-69
No files matched your search
@@ -102,7 +102,7 @@ try
|
||||
std::string deck_filename = param.get<std::string>("deck_filename");
|
||||
deck.reset(new EclipseGridParser(deck_filename));
|
||||
Opm::ParserPtr newParser(new Opm::Parser() );
|
||||
Opm::DeckConstPtr newParserDeck = newParser->parse( deck_filename );
|
||||
Opm::DeckConstPtr newParserDeck = newParser->parseFile( deck_filename );
|
||||
|
||||
// Grid init
|
||||
grid.reset(new GridManager(newParserDeck));
|
||||
|
||||
Reference in new issue
Block a user