mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06: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:
parent
20599ab698
commit
55fb6fa7ed
@ -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);
|
||||
/////
|
||||
|
||||
/////
|
||||
|
Loading…
Reference in New Issue
Block a user