Commit Graph

28 Commits

Author SHA1 Message Date
Bård Skaflestad
7cd1a9ed05 Correct inaccuracy in WellControls::distr description.
The distribution is specified per control, not per well.
2012-05-09 11:11:47 +02:00
Atgeirr Flø Rasmussen
e3246c8ead 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
ff9e191df6 Added documentation of sign convention for RATE targets. 2012-04-25 10:45:10 +02:00
Bård Skaflestad
3a81e04ee4 Delete trailing whitespace. 2012-04-23 20:48:31 +02:00
Bård Skaflestad
c0a5879d53 Spell-check comment. 2012-04-23 09:59:53 +02:00
Bård Skaflestad
7bcf30f7f8 Further refinement of add_well() documentation. 2012-04-22 21:24:43 +02:00
Bård Skaflestad
9b162de979 Fix spelling. 2012-04-22 21:19:08 +02:00
Bård Skaflestad
375283b141 Mention that clear_well_controls() does not affect capacity. 2012-04-22 21:15:28 +02:00
Bård Skaflestad
c6c1f08bd7 Fix cross-reference misprint in destroy_wells() documentation. 2012-04-22 17:03:13 +02:00
Bård Skaflestad
225acb5c26 Document intended return code for append_well_controls(). 2012-04-22 16:58:37 +02:00
Bård Skaflestad
f2ab37c6c2 Expand description of function create_wells().
Restore original parameter names in the process.
2012-04-22 11:50:41 +02:00
Bård Skaflestad
ceeafefa52 Update add_well() comment to reflect intended pre- and post-condition. 2012-04-22 11:36:49 +02:00
Bård Skaflestad
2a5d35a04b Prefer to speak of "data structures" rather than "struct"s in documentation. 2012-04-21 21:07:19 +02:00
Bård Skaflestad
1e9748cdb8 Hide memory management aspects of struct Wells. 2012-04-21 13:57:41 +02:00
Bård Skaflestad
3807506aeb Hide memory management aspects of struct WellControls. 2012-04-21 11:34:11 +02:00
Bård Skaflestad
75ee1494ec Formalise description of struct WellControls. 2012-04-21 10:18:20 +02:00
Bård Skaflestad
868905ae24 Use complete sentences when describing individual WellControlTypes. 2012-04-21 10:10:11 +02:00
Bård Skaflestad
fd58342f40 Correct misunderstanding about row-major vs. column major ordering. 2012-04-20 23:53:04 +02:00
Bård Skaflestad
165c430844 Correct array sizes in struct CompletionData. 2012-04-20 20:54:58 +02:00
Bård Skaflestad
d0d45e0cca Use more precise description of the WellControlType. 2012-04-20 19:53:09 +02:00
Bård Skaflestad
8cdabd9155 Remove an instance of EOL whitespace introduced in cset a09de38891c5. 2012-04-20 19:47:52 +02:00
Atgeirr Flø Rasmussen
73c74e4228 Added file level docs. 2012-04-20 11:38:10 +02:00
Atgeirr Flø Rasmussen
c09c660af8 Renamed add_wells() -> add_well(). Documented. 2012-04-20 11:34:58 +02:00
Atgeirr Flø Rasmussen
78006cff40 Renamed some enums and functions relating to Wells, and started documenting it. 2012-04-20 09:50:36 +02:00
Kjetil Olsen Lye
432f7c08a3 Added exmaple file 2012-03-27 10:56:32 +02:00
Kjetil Olsen Lye
4773318b28 added initial input reading for group control (GRUP-keyword) 2012-03-27 09:23:24 +02:00
Bård Skaflestad
32f5ae1030 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
e577b74a48 Add new version of well datastructure. 2012-02-01 12:16:05 +01:00