rename ParseMode as ParseContext.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <opm/core/wells/WellCollection.hpp>
|
||||
#include <opm/parser/eclipse/Parser/Parser.hpp>
|
||||
#include <opm/parser/eclipse/Parser/ParseMode.hpp>
|
||||
#include <opm/parser/eclipse/Parser/ParseContext.hpp>
|
||||
#include <opm/parser/eclipse/Deck/Deck.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/Well.hpp>
|
||||
@@ -42,9 +42,9 @@ using namespace Opm;
|
||||
BOOST_AUTO_TEST_CASE(AddWellsAndGroupToCollection) {
|
||||
ParserPtr parser(new Parser());
|
||||
std::string scheduleFile("wells_group.data");
|
||||
ParseMode parseMode;
|
||||
DeckConstPtr deck = parser->parseFile(scheduleFile, parseMode);
|
||||
EclipseStateConstPtr eclipseState(new EclipseState(deck, parseMode));
|
||||
ParseContext parseContext;
|
||||
DeckConstPtr deck = parser->parseFile(scheduleFile, parseContext);
|
||||
EclipseStateConstPtr eclipseState(new EclipseState(deck, parseContext));
|
||||
PhaseUsage pu = phaseUsageFromDeck(eclipseState);
|
||||
|
||||
GroupTreeNodePtr field=eclipseState->getSchedule()->getGroupTree(2)->getNode("FIELD");
|
||||
|
||||
Reference in New Issue
Block a user