mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Added functions to get type, target and distr of *current* control.
This commit is contained in:
@@ -130,6 +130,9 @@ well_controls_add_new(enum WellControlType type , double target , const double *
|
||||
enum WellControlType
|
||||
well_controls_iget_type(const struct WellControls * ctrl, int control_index);
|
||||
|
||||
enum WellControlType
|
||||
well_controls_get_current_type(const struct WellControls * ctrl);
|
||||
|
||||
void
|
||||
well_controls_iset_type( struct WellControls * ctrls , int control_index , enum WellControlType type);
|
||||
|
||||
@@ -139,12 +142,18 @@ well_controls_iset_target(struct WellControls * ctrl, int control_index , double
|
||||
double
|
||||
well_controls_iget_target(const struct WellControls * ctrl, int control_index);
|
||||
|
||||
double
|
||||
well_controls_get_current_target(const struct WellControls * ctrl);
|
||||
|
||||
const double *
|
||||
well_controls_iget_distr(const struct WellControls * ctrl, int control_index);
|
||||
|
||||
void
|
||||
well_controls_iset_distr(const struct WellControls * ctrl, int control_index, const double * distr);
|
||||
|
||||
const double *
|
||||
well_controls_get_current_distr(const struct WellControls * ctrl);
|
||||
|
||||
void
|
||||
well_controls_assert_number_of_phases(struct WellControls * ctrl , int number_of_phases);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user