From e59110f5f4df8c6ad671524aa27c7d6b7d2f1de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Mon, 12 Dec 2011 18:43:11 +0100 Subject: [PATCH] Add field for specifying which surface volume fraction is injected. --- opm/core/well.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opm/core/well.h b/opm/core/well.h index 279f57aad..bdee861a8 100644 --- a/opm/core/well.h +++ b/opm/core/well.h @@ -27,6 +27,7 @@ extern "C" { enum well_type { INJECTOR, PRODUCER }; enum well_control { BHP , RATE }; +enum surface_component { WATER = 0, OIL = 1, GAS = 2 }; struct WellCompletions { int number_of_wells; @@ -38,6 +39,7 @@ struct WellControls { enum well_type *type; enum well_control *ctrl; double *target; + double *zfrac; /* Surface volume fraction (3*nwells) */ }; struct completion_data {