mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 01:01:00 -06:00
Improve includes from opm-parser
Adopting to opm-parser PR#661, add previously missing includes. https://github.com/OPM/opm-parser/pull/661
This commit is contained in:
parent
50c1bbdc85
commit
b0692304d5
@ -25,6 +25,8 @@
|
||||
#include <opm/core/utility/Units.hpp>
|
||||
#include <opm/common/ErrorMacros.hpp>
|
||||
|
||||
#include <opm/parser/eclipse/Deck/DeckItem.hpp>
|
||||
#include <opm/parser/eclipse/Deck/DeckKeyword.hpp>
|
||||
#include <opm/parser/eclipse/Deck/DeckRecord.hpp>
|
||||
|
||||
namespace Opm
|
||||
|
@ -24,6 +24,8 @@
|
||||
#include <opm/core/utility/Units.hpp>
|
||||
#include <opm/common/ErrorMacros.hpp>
|
||||
#include <opm/core/props/BlackoilPhases.hpp>
|
||||
#include <opm/parser/eclipse/Deck/DeckItem.hpp>
|
||||
#include <opm/parser/eclipse/Deck/DeckKeyword.hpp>
|
||||
#include <opm/parser/eclipse/Deck/DeckRecord.hpp>
|
||||
|
||||
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Grid/EclipseGrid.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Grid/GridProperty.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Grid/TransMult.hpp>
|
||||
#include <opm/core/pressure/tpfa/TransTpfa.hpp>
|
||||
#include <opm/core/grid/PinchProcessor.hpp>
|
||||
#include <opm/core/props/rock/RockFromDeck.hpp>
|
||||
|
@ -41,9 +41,9 @@ using namespace Opm;
|
||||
|
||||
BOOST_AUTO_TEST_CASE(AddWellsAndGroupToCollection) {
|
||||
ParserPtr parser(new Parser());
|
||||
boost::filesystem::path scheduleFile("wells_group.data");
|
||||
std::string scheduleFile("wells_group.data");
|
||||
ParseMode parseMode;
|
||||
DeckConstPtr deck = parser->parseFile(scheduleFile.string() , parseMode);
|
||||
DeckConstPtr deck = parser->parseFile(scheduleFile, parseMode);
|
||||
EclipseStateConstPtr eclipseState(new EclipseState(deck, parseMode));
|
||||
PhaseUsage pu = phaseUsageFromDeck(eclipseState);
|
||||
|
||||
|
@ -49,9 +49,9 @@ using namespace Opm;
|
||||
|
||||
BOOST_AUTO_TEST_CASE(ConstructGroupFromWell) {
|
||||
ParserPtr parser(new Parser());
|
||||
boost::filesystem::path scheduleFile("wells_group.data");
|
||||
std::string scheduleFile("wells_group.data");
|
||||
ParseMode parseMode;
|
||||
DeckConstPtr deck = parser->parseFile(scheduleFile.string() , parseMode);
|
||||
DeckConstPtr deck = parser->parseFile(scheduleFile, parseMode);
|
||||
EclipseStateConstPtr eclipseState(new EclipseState(deck , parseMode));
|
||||
PhaseUsage pu = phaseUsageFromDeck(eclipseState);
|
||||
|
||||
@ -83,8 +83,8 @@ BOOST_AUTO_TEST_CASE(ConstructGroupFromWell) {
|
||||
BOOST_AUTO_TEST_CASE(ConstructGroupFromGroup) {
|
||||
ParserPtr parser(new Parser());
|
||||
ParseMode parseMode;
|
||||
boost::filesystem::path scheduleFile("wells_group.data");
|
||||
DeckConstPtr deck = parser->parseFile(scheduleFile.string() , parseMode);
|
||||
std::string scheduleFile("wells_group.data");
|
||||
DeckConstPtr deck = parser->parseFile(scheduleFile, parseMode);
|
||||
EclipseStateConstPtr eclipseState(new EclipseState(deck , parseMode));
|
||||
PhaseUsage pu = phaseUsageFromDeck(eclipseState);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user