mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-29 12:33:49 -06:00
Merge pull request #3833 from hakonhagland/gl_active
Use new VFPProdTable constructor
This commit is contained in:
commit
ae32b44124
@ -593,7 +593,8 @@ VFPPROD \n\
|
||||
auto units = Opm::UnitSystem::newFIELD();
|
||||
Opm::Parser parser;
|
||||
auto deck = parser.parseString(table_str);
|
||||
Opm::VFPProdTable table(deck["VFPPROD"].front(), units);
|
||||
bool gaslift_active = false;
|
||||
Opm::VFPProdTable table(deck["VFPPROD"].front(), gaslift_active, units);
|
||||
Opm::VFPProdProperties properties;
|
||||
properties.addTable( table );
|
||||
|
||||
@ -653,7 +654,8 @@ BOOST_AUTO_TEST_CASE(ParseInterpolateRealisticVFPPROD)
|
||||
BOOST_REQUIRE(deck.hasKeyword("VFPPROD"));
|
||||
BOOST_CHECK_EQUAL(deck.count("VFPPROD"), 1);
|
||||
|
||||
Opm::VFPProdTable table(deck["VFPPROD"].front(), units);
|
||||
bool gaslift_active = false;
|
||||
Opm::VFPProdTable table(deck["VFPPROD"].front(), gaslift_active, units);
|
||||
Opm::VFPProdProperties properties;
|
||||
properties.addTable(table);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user