Added new functions to set target and type and invert value of current control.

This commit is contained in:
Joakim Hove committed 2014-01-06 12:06:36 +01:00
1 parent 85984a72e4
commit fdf7bdba85
4 files changed
+120

No files matched your search

+9
View File
@@ -121,12 +121,21 @@ well_controls_get_current( const struct WellControls * ctrl);
void
well_controls_set_current( struct WellControls * ctrl, int current);
void
well_controls_invert_current( struct WellControls * ctrl );
int
well_controls_add_new(enum WellControlType type , double target , const double * distr , struct WellControls * ctrl);
enum WellControlType
well_controls_iget_type(const struct WellControls * ctrl, int control_index);
void
well_controls_iset_type( struct WellControls * ctrls , int control_index , enum WellControlType type);
void
well_controls_iset_target(struct WellControls * ctrl, int control_index , double target);
double
well_controls_iget_target(const struct WellControls * ctrl, int control_index);