From 55fb6fa7edccae4e9dd085d88ebd84da219a1d91 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Mon, 12 Jan 2015 14:56:42 +0100 Subject: [PATCH] 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. --- tests/test_transmissibilitymultipliers.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_transmissibilitymultipliers.cpp b/tests/test_transmissibilitymultipliers.cpp index 1b1864dc11..1dc8167da5 100644 --- a/tests/test_transmissibilitymultipliers.cpp +++ b/tests/test_transmissibilitymultipliers.cpp @@ -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(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(multMinusDeck, multMinusEclipseState, *multMinusGrid); - Opm::DerivedGeology multMinusGeology(*multMinusGrid, *multMinusProps, multMinusEclipseState); + Opm::DerivedGeology multMinusGeology(*multMinusGrid, *multMinusProps, multMinusEclipseState, + false); ///// /////