20 #ifndef OPM_LEGACY_WELL_HEADER_INCLUDED
21 #define OPM_LEGACY_WELL_HEADER_INCLUDED
Well constrained by BHP target.
Definition: well_controls.h:35
void derive_cell_wells(int nc, well_t *W, int *cwpos, int *cwells)
Construct cell-to-well mapping (i.e., transpose the well-to-cell mapping represented by W->well_cells...
surface_component
Compositions recognised in injection wells.
Definition: legacy_well.h:47
double * gpot
Gravity potential.
Definition: legacy_well.h:73
Basic representation of well controls.
Definition: legacy_well.h:61
int * well_cells
Well connections.
Definition: legacy_well.h:55
int allocate_cell_wells(int nc, well_t *W, int **cwpos, int **cwells)
Allocate cell-to-well mapping (as a sparse array).
int number_of_wells
Number of wells.
Definition: legacy_well.h:53
well_control
Control types recognised in system.
Definition: legacy_well.h:42
double * WI
Well indices.
Definition: legacy_well.h:72
double * zfrac
Surface injection composition.
Definition: legacy_well.h:65
Well is an injector.
Definition: wells.h:42
double * phasemob
Phase mobility, per connection.
Definition: legacy_well.h:75
double * A
for compressible flows.
Definition: legacy_well.h:74
Basic representation of well topology.
Definition: legacy_well.h:52
Well is a producer.
Definition: wells.h:43
enum well_type * type
Individual well taxonomy.
Definition: legacy_well.h:62
double * target
Control target.
Definition: legacy_well.h:64
void deallocate_cell_wells(int *cvpos, int *cwells)
Dispose of memory resources allocated using function allocate_cell_wells().
enum well_control * ctrl
Individual well controls.
Definition: legacy_well.h:63
int * well_connpos
Well topology start pointers.
Definition: legacy_well.h:54
well_type
Well taxonomy.
Definition: legacy_well.h:37
Dynamic discretisation data relating well to flow in reservoir.
Definition: legacy_well.h:71