mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
rename ParseMode in examples folder.
This commit is contained in:
parent
6ec0594f17
commit
bfb5a49af1
@ -45,7 +45,7 @@
|
|||||||
#include <opm/core/simulator/WellState.hpp>
|
#include <opm/core/simulator/WellState.hpp>
|
||||||
#include <opm/core/simulator/SimulatorIncompTwophase.hpp>
|
#include <opm/core/simulator/SimulatorIncompTwophase.hpp>
|
||||||
|
|
||||||
#include <opm/parser/eclipse/Parser/ParseMode.hpp>
|
#include <opm/parser/eclipse/Parser/ParseContext.hpp>
|
||||||
#include <opm/parser/eclipse/Parser/Parser.hpp>
|
#include <opm/parser/eclipse/Parser/Parser.hpp>
|
||||||
#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
|
#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
|
||||||
|
|
||||||
@ -111,11 +111,11 @@ try
|
|||||||
double gravity[3] = { 0.0 };
|
double gravity[3] = { 0.0 };
|
||||||
if (use_deck) {
|
if (use_deck) {
|
||||||
ParserPtr parser(new Opm::Parser());
|
ParserPtr parser(new Opm::Parser());
|
||||||
ParseMode parseMode;
|
ParseContext parseContext;
|
||||||
|
|
||||||
std::string deck_filename = param.get<std::string>("deck_filename");
|
std::string deck_filename = param.get<std::string>("deck_filename");
|
||||||
deck = parser->parseFile(deck_filename , parseMode);
|
deck = parser->parseFile(deck_filename , parseContext);
|
||||||
eclipseState.reset( new EclipseState(deck, parseMode));
|
eclipseState.reset( new EclipseState(deck, parseContext));
|
||||||
// Grid init
|
// Grid init
|
||||||
grid.reset(new GridManager(deck));
|
grid.reset(new GridManager(deck));
|
||||||
// Rock and fluid init
|
// Rock and fluid init
|
||||||
|
Loading…
Reference in New Issue
Block a user