Use correct constructor of DerivedGeology used with CpGrid in test_transmissibilities.

The constructor now needs and additional boolean to
flag whether to local permeabilities. The old one used
is not there anymore. Therefor this patch moves the code
to the new constructor interface.
This commit is contained in:
Markus Blatt 2015-01-12 14:56:42 +01:00
parent 20599ab698
commit 55fb6fa7ed

View File

@ -254,7 +254,7 @@ BOOST_AUTO_TEST_CASE(TransmissibilityMultipliersCpGrid)
origEclipseState,
*origGrid);
Opm::DerivedGeology origGeology(*origGrid, *origProps, origEclipseState);
Opm::DerivedGeology origGeology(*origGrid, *origProps, origEclipseState, false);
/////
/////
@ -267,7 +267,7 @@ BOOST_AUTO_TEST_CASE(TransmissibilityMultipliersCpGrid)
auto multProps = std::make_shared<Opm::BlackoilPropsAdFromDeck>(multDeck, multEclipseState, *multGrid);
Opm::DerivedGeology multGeology(*multGrid, *multProps, multEclipseState);
Opm::DerivedGeology multGeology(*multGrid, *multProps, multEclipseState, false);
/////
/////
@ -281,7 +281,8 @@ BOOST_AUTO_TEST_CASE(TransmissibilityMultipliersCpGrid)
auto multMinusProps = std::make_shared<Opm::BlackoilPropsAdFromDeck>(multMinusDeck, multMinusEclipseState, *multMinusGrid);
Opm::DerivedGeology multMinusGeology(*multMinusGrid, *multMinusProps, multMinusEclipseState);
Opm::DerivedGeology multMinusGeology(*multMinusGrid, *multMinusProps, multMinusEclipseState,
false);
/////
/////