mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-24 08:20:01 -06:00
Small fixes for readabilty
This commit is contained in:
parent
16140c54fc
commit
f02a02320d
@ -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(), true, wells.get());
|
||||
NULL, ss.str().c_str(), true, wells.get());
|
||||
BOOST_REQUIRE(ok);
|
||||
}
|
||||
|
||||
|
@ -49,11 +49,12 @@ BOOST_AUTO_TEST_CASE(TestPressureDeltas)
|
||||
const double comp_frac_o[np] = { 0.0, 1.0, 0.0 };
|
||||
const int cells[nperf/2] = { 0, 1, 2, 3, 4 };
|
||||
const double WI[nperf/2] = { 1.0, 1.0, 1.0, 1.0, 1.0 };
|
||||
const bool allow_crossflow = true;
|
||||
std::shared_ptr<Wells> wells(create_wells(np, 2, nperf), destroy_wells);
|
||||
BOOST_REQUIRE(wells);
|
||||
int ok = add_well(INJECTOR, ref_depth, nperf/2, comp_frac_w, cells, WI, "INJ", true, wells.get());
|
||||
int ok = add_well(INJECTOR, ref_depth, nperf/2, comp_frac_w, cells, WI, "INJ", allow_crossflow, wells.get());
|
||||
BOOST_REQUIRE(ok);
|
||||
ok = add_well(PRODUCER, ref_depth, nperf/2, comp_frac_o, cells, WI, "PROD", true, wells.get());
|
||||
ok = add_well(PRODUCER, ref_depth, nperf/2, comp_frac_o, cells, WI, "PROD", allow_crossflow, wells.get());
|
||||
BOOST_REQUIRE(ok);
|
||||
std::vector<double> rates = { 1.0, 0.0, 0.0,
|
||||
1.0, 0.0, 0.0,
|
||||
|
Loading…
Reference in New Issue
Block a user