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:
Tor Harald Sandve 2015-10-06 15:54:20 +02:00
parent 430b96b815
commit d83cb9e61f

View File

@ -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