mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-06 14:16:45 -05:00
rename ParseMode as ParseContext.
This commit is contained in:
1 parent
cb41a45687
commit
8cd08728f7
2 files changed
+8
-8
No files matched your search
@@ -18,7 +18,7 @@
|
|||||||
#include <opm/core/linalg/LinearSolverFactory.hpp>
|
#include <opm/core/linalg/LinearSolverFactory.hpp>
|
||||||
#include <opm/core/props/rock/RockCompressibility.hpp>
|
#include <opm/core/props/rock/RockCompressibility.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/Deck/Deck.hpp>
|
#include <opm/parser/eclipse/Deck/Deck.hpp>
|
||||||
#include <opm/parser/eclipse/EclipseState/Schedule/Schedule.hpp>
|
#include <opm/parser/eclipse/EclipseState/Schedule/Schedule.hpp>
|
||||||
@@ -35,10 +35,10 @@ try
|
|||||||
simtimer.init(parameters);
|
simtimer.init(parameters);
|
||||||
|
|
||||||
// Read input file
|
// Read input file
|
||||||
ParseMode parseMode;
|
ParseContext parseContext;
|
||||||
Opm::ParserPtr parser(new Opm::Parser());
|
Opm::ParserPtr parser(new Opm::Parser());
|
||||||
Opm::DeckConstPtr deck = parser->parseFile(file_name , parseMode);
|
Opm::DeckConstPtr deck = parser->parseFile(file_name , parseContext);
|
||||||
Opm::EclipseStateConstPtr eclipseState(new Opm::EclipseState(deck , parseMode));
|
Opm::EclipseStateConstPtr eclipseState(new Opm::EclipseState(deck , parseContext));
|
||||||
std::cout << "Done!" << std::endl;
|
std::cout << "Done!" << std::endl;
|
||||||
|
|
||||||
// Setup grid
|
// Setup grid
|
||||||
@@ -108,7 +108,7 @@ try
|
|||||||
|
|
||||||
|
|
||||||
TwophaseFluid fluid(incomp_properties);
|
TwophaseFluid fluid(incomp_properties);
|
||||||
TransportModel model(fluid, *grid->c_grid(), porevol, gravity[2], true);
|
TransportContextl model(fluid, *grid->c_grid(), porevol, gravity[2], true);
|
||||||
|
|
||||||
TransportSolver tsolver(model);
|
TransportSolver tsolver(model);
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include <opm/parser/eclipse/Deck/Deck.hpp>
|
#include <opm/parser/eclipse/Deck/Deck.hpp>
|
||||||
#include <opm/parser/eclipse/Parser/Parser.hpp>
|
#include <opm/parser/eclipse/Parser/Parser.hpp>
|
||||||
#include <opm/parser/eclipse/Parser/ParseMode.hpp>
|
#include <opm/parser/eclipse/Parser/ParseContext.hpp>
|
||||||
#include <opm/core/simulator/SimulatorTimer.hpp>
|
#include <opm/core/simulator/SimulatorTimer.hpp>
|
||||||
#include <opm/core/utility/Units.hpp>
|
#include <opm/core/utility/Units.hpp>
|
||||||
|
|
||||||
@@ -44,8 +44,8 @@ BOOST_AUTO_TEST_CASE(CreateTimer)
|
|||||||
{
|
{
|
||||||
const std::string filename1 = "TESTTIMER.DATA";
|
const std::string filename1 = "TESTTIMER.DATA";
|
||||||
Opm::ParserPtr parser(new Opm::Parser() );
|
Opm::ParserPtr parser(new Opm::Parser() );
|
||||||
Opm::ParseMode parseMode;
|
Opm::ParseContext parseContext;
|
||||||
Opm::DeckConstPtr parserDeck = parser->parseFile( filename1 , parseMode);
|
Opm::DeckConstPtr parserDeck = parser->parseFile( filename1 , parseContext);
|
||||||
|
|
||||||
Opm::TimeMapPtr timeMap(new Opm::TimeMap(parserDeck));
|
Opm::TimeMapPtr timeMap(new Opm::TimeMap(parserDeck));
|
||||||
Opm::SimulatorTimer simtimer;
|
Opm::SimulatorTimer simtimer;
|
||||||
|
|||||||
Reference in new issue
Block a user