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 d54899ba07
commit 40ec39fa71
5 changed files with 35 additions and 7 deletions

View File

@@ -38,6 +38,7 @@ namespace Opm
struct WellData
{
WellType type;
bool allowCrossFlow;
// WellControlType control;
// double target;
double reference_bhp_depth;