mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 01:12:02 -05:00
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:
1 parent
20599ab698
commit
55fb6fa7ed
1 file changed
+4
-3
@@ -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);
|
||||
/////
|
||||
|
||||
/////
|
||||
|
||||
Reference in new issue
Block a user