mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add "allow crossflow" argument to add_well() calls.
This commit is contained in:
@@ -446,7 +446,7 @@ BOOST_AUTO_TEST_CASE(GetTable)
|
||||
std::shared_ptr<Wells> wells(create_wells(nphases, nwells, nperfs),
|
||||
destroy_wells);
|
||||
const int cells[] = {5};
|
||||
add_well(INJECTOR, 100, 1, NULL, cells, NULL, NULL, wells.get());
|
||||
add_well(INJECTOR, 100, 1, NULL, cells, NULL, NULL, true, wells.get());
|
||||
|
||||
//Create interpolation points
|
||||
double aqua_d = -0.15;
|
||||
@@ -783,7 +783,7 @@ BOOST_AUTO_TEST_CASE(InterpolateADBAndQs)
|
||||
std::stringstream ss;
|
||||
ss << "WELL_" << i;
|
||||
const bool ok = add_well(INJECTOR, 0.0, 1, NULL, &cells,
|
||||
NULL, ss.str().c_str(), wells.get());
|
||||
NULL, ss.str().c_str(), true, wells.get());
|
||||
BOOST_REQUIRE(ok);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user