Add Python arg to Schedule constructor

This commit is contained in:
Joakim Hove
2020-03-25 18:32:46 +01:00
parent 778459ec84
commit b68bdea6e4
3 changed files with 11 additions and 3 deletions

View File

@@ -57,6 +57,9 @@
// include the tables for CO2 which are delivered with opm-material by default
#include <opm/material/common/UniformTabulated2DFunction.hpp>
#include <opm/parser/eclipse/Python/Python.hpp>
namespace Opm {
namespace FluidSystemsTest {
#include <opm/material/components/co2tables.inc>
@@ -72,9 +75,10 @@ void ensureBlackoilApi()
// that they compile
while (false) {
#if HAVE_ECL_INPUT
Opm::Python python;
Opm::Deck deck;
Opm::EclipseState eclState(deck);
Opm::Schedule schedule(deck, eclState);
Opm::Schedule schedule(deck, eclState, python);
FluidSystem::initFromState(eclState, schedule);
#endif