mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Prefer to speak of "data structures" rather than "struct"s in documentation.
This commit is contained in:
parent
8770042d64
commit
7125e31748
@ -68,7 +68,7 @@ struct WellControls
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/** Struct encapsulating static information about all wells in a scenario. */
|
/** Data structure aggregating static information about all wells in a scenario. */
|
||||||
struct Wells
|
struct Wells
|
||||||
{
|
{
|
||||||
int number_of_wells; /** Number of wells. */
|
int number_of_wells; /** Number of wells. */
|
||||||
@ -88,15 +88,15 @@ struct Wells
|
|||||||
* Size is number of perforations (== well_connpos[number_of_wells]).
|
* Size is number of perforations (== well_connpos[number_of_wells]).
|
||||||
*/
|
*/
|
||||||
double *WI; /** Well productivity index, same size and structure as well_cells. */
|
double *WI; /** Well productivity index, same size and structure as well_cells. */
|
||||||
struct WellControls **ctrls; /** Well controls, one struct for each well. */
|
struct WellControls **ctrls; /** Well controls, one set of controls for each well. */
|
||||||
|
|
||||||
|
|
||||||
void *data; /** Internal management structure. */
|
void *data; /** Internal management structure. */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/** Struct encapsulating dynamic information about all wells in a scenario.
|
/** Data structure aggregating dynamic information about all wells in a scenario.
|
||||||
* All arrays in this struct contain data for each perforation,
|
* All arrays in this structure contain data for each perforation,
|
||||||
* ordered the same as Wells::well_cells and Wells:WI. The array
|
* ordered the same as Wells::well_cells and Wells:WI. The array
|
||||||
* sizes are, respectively,
|
* sizes are, respectively,
|
||||||
*
|
*
|
||||||
@ -126,7 +126,7 @@ struct Wells *
|
|||||||
create_wells(int nwells_reserve_cap, int nperf_reserve_cap);
|
create_wells(int nwells_reserve_cap, int nperf_reserve_cap);
|
||||||
|
|
||||||
|
|
||||||
/** Append a well to a Wells struct.
|
/** Append a new well to an existing Wells object.
|
||||||
* If successful, W->number_of_wells is incremented by 1.
|
* If successful, W->number_of_wells is incremented by 1.
|
||||||
* The newly added well will have no controls associated with it, add
|
* The newly added well will have no controls associated with it, add
|
||||||
* controls using append_well_controls(). The current control index is set
|
* controls using append_well_controls(). The current control index is set
|
||||||
|
Loading…
Reference in New Issue
Block a user