Commit Graph

27 Commits

Author SHA1 Message Date
Atgeirr Flø Rasmussen
597a2cc7af Significant modification of well data structures and related functions.
The following changes are made:
 - The SurfaceComponent enum has been removed.
 - Added new member Wells::number_of_phases.
 - The Wells::zfrac member has been replaced with comp_frac. The old
   zfrac always had 3 components per well (accessed according to the
   canonical ordering given by SurfaceComponent), the new one has
   number_of_phases components per well.
 - Changed add_well() accordingly to accept comp_frac.
 - Added new member WellControls::distr, giving distributions for
   rate controls.
 - All functions dealing with well controls now take Wells* and a
   well index instead of directly taking WellControls*.
 - Now append_well_controls() also takes a rate distribution argument.
 - Added new public function set_current_control().
2012-04-26 13:55:35 +02:00
Atgeirr Flø Rasmussen
176d8b3955 Added documentation of sign convention for RATE targets. 2012-04-25 10:45:10 +02:00
Bård Skaflestad
955f927940 Delete trailing whitespace. 2012-04-23 20:48:31 +02:00
Bård Skaflestad
5c1c120d8c Spell-check comment. 2012-04-23 09:59:53 +02:00
Bård Skaflestad
7671387f6f Further refinement of add_well() documentation. 2012-04-22 21:24:43 +02:00
Bård Skaflestad
d29f587ad0 Fix spelling. 2012-04-22 21:19:08 +02:00
Bård Skaflestad
98078c8215 Mention that clear_well_controls() does not affect capacity. 2012-04-22 21:15:28 +02:00
Bård Skaflestad
ab0c4d49e0 Fix cross-reference misprint in destroy_wells() documentation. 2012-04-22 17:03:13 +02:00
Bård Skaflestad
65a7ec3ad9 Document intended return code for append_well_controls(). 2012-04-22 16:58:37 +02:00
Bård Skaflestad
e444a3b77e Expand description of function create_wells().
Restore original parameter names in the process.
2012-04-22 11:50:41 +02:00
Bård Skaflestad
829f6aa003 Update add_well() comment to reflect intended pre- and post-condition. 2012-04-22 11:36:49 +02:00
Bård Skaflestad
7125e31748 Prefer to speak of "data structures" rather than "struct"s in documentation. 2012-04-21 21:07:19 +02:00
Bård Skaflestad
8770042d64 Hide memory management aspects of struct Wells. 2012-04-21 13:57:41 +02:00
Bård Skaflestad
3bca737913 Hide memory management aspects of struct WellControls. 2012-04-21 11:34:11 +02:00
Bård Skaflestad
7bd5e1c0b5 Formalise description of struct WellControls. 2012-04-21 10:18:20 +02:00
Bård Skaflestad
e1a836ff04 Use complete sentences when describing individual WellControlTypes. 2012-04-21 10:10:11 +02:00
Bård Skaflestad
97a21f1094 Correct misunderstanding about row-major vs. column major ordering. 2012-04-20 23:53:04 +02:00
Bård Skaflestad
755bc5ecb5 Correct array sizes in struct CompletionData. 2012-04-20 20:54:58 +02:00
Bård Skaflestad
b744285b9a Use more precise description of the WellControlType. 2012-04-20 19:53:09 +02:00
Bård Skaflestad
2c001e06df Remove an instance of EOL whitespace introduced in cset a09de38891c5. 2012-04-20 19:47:52 +02:00
Atgeirr Flø Rasmussen
11389cdd54 Added file level docs. 2012-04-20 11:38:10 +02:00
Atgeirr Flø Rasmussen
36aa5fd90c Renamed add_wells() -> add_well(). Documented. 2012-04-20 11:34:58 +02:00
Atgeirr Flø Rasmussen
a96ac0bc9e Renamed some enums and functions relating to Wells, and started documenting it. 2012-04-20 09:50:36 +02:00
Kjetil Olsen Lye
5b485b8c8a Added exmaple file 2012-03-27 10:56:32 +02:00
Kjetil Olsen Lye
040be401e0 added initial input reading for group control (GRUP-keyword) 2012-03-27 09:23:24 +02:00
Bård Skaflestad
6b8e89e098 Implement basic memory management for new well interface.
Hook up to build, but actual location is likely to change...
2012-02-03 21:35:19 +01:00
Jostein R. Natvig
04f88cee52 Add new version of well datastructure. 2012-02-01 12:16:05 +01:00