Moved well_controls implementation to separate file well_controls.c.

This commit is contained in:
Joakim Hove
2014-01-05 14:47:15 +01:00
parent e75552750a
commit 76deba58bd
4 changed files with 194 additions and 131 deletions

View File

@@ -55,6 +55,7 @@ extern "C" {
* BHP constraint defines a minimum acceptable bottom-hole pressure
* value for the well.
*/
struct WellControls
{
/**
@@ -91,10 +92,24 @@ struct WellControls
void *data;
};
bool
bool
well_controls_equal(const struct WellControls *ctrls1, const struct WellControls *ctrls2);
int
well_controls_reserve(int nctrl, int nphases, struct WellControls *ctrl);
struct WellControls *
well_controls_create(void);
void
well_controls_destroy(struct WellControls *ctrl);
struct WellControlMgmt {
int cpty;
};
#ifdef __cplusplus
}