mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 18:21:00 -06:00
Add boolean flag to determine whether crossflow is allowed in a well
This PR adds allow_cf to the wells structure that determine whether crossflow is allowed or not. An extra argument is added to addWell(..) to specify the allow_cf flag.
This commit is contained in:
parent
430b96b815
commit
d83cb9e61f
@ -319,8 +319,9 @@ try
|
||||
const double well_index = 1;
|
||||
std::stringstream well_name;
|
||||
well_name << "well" << i;
|
||||
bool allowCrossFlow = true;
|
||||
add_well(PRODUCER, 0, 1, NULL, &well_cells, &well_index,
|
||||
well_name.str().c_str(), wells);
|
||||
well_name.str().c_str(), allowCrossFlow, wells);
|
||||
}
|
||||
/// \internal[well cells]
|
||||
/// \endinternal
|
||||
|
Loading…
Reference in New Issue
Block a user