mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Document intended return code for append_well_controls().
This commit is contained in:
parent
e444a3b77e
commit
65a7ec3ad9
@ -168,15 +168,17 @@ add_well(enum WellType type ,
|
|||||||
struct Wells *W );
|
struct Wells *W );
|
||||||
|
|
||||||
|
|
||||||
/** Append a control to a well.
|
/**
|
||||||
* If successful, ctrl->num is incremented by 1.
|
* Append operational constraint to an existing well.
|
||||||
* Note that this function does not change ctrl->current.
|
*
|
||||||
* To append a control to a well with index w, pass its
|
* Increments ctrl->num by one if successful. Introducing a new
|
||||||
* controls to this function via wellsptr->ctrls[w].
|
* operational constraint does not affect the well's notion of the
|
||||||
* \param[in] type Control type.
|
* currently active constraint represented by ctrl->current.
|
||||||
* \param[in] target Target value for the control.
|
*
|
||||||
* \param[inout] ctrl The WellControls object to be modified.
|
* \param[in] type Control type.
|
||||||
* \return 1 if successful, 0 if failed.
|
* \param[in] target Target value for the control.
|
||||||
|
* \param[inout] ctrl Existing set of well controls.
|
||||||
|
* \return Non-zero (true) if successful and zero (false) otherwise.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
append_well_controls(enum WellControlType type ,
|
append_well_controls(enum WellControlType type ,
|
||||||
|
Loading…
Reference in New Issue
Block a user