Using internal enum InjectorType instead of (removed) enum SurfaceComponent from newwells.h.

This commit is contained in:
Atgeirr Flø Rasmussen 2012-04-26 13:57:19 +02:00
parent 597a2cc7af
commit 3f3c5a8516

View File

@ -2,6 +2,7 @@
#define OPM_INJECTORSPECIFICATION_HPP
#include <opm/core/newwells.h>
namespace Opm
{
@ -13,15 +14,22 @@ namespace Opm
NONE, ORAT, REIN, RESV, VREP, WGRA, FLD, GRUP
};
enum InjectorType
{
WATER, OIL, GAS
};
InjectionSpecification();
SurfaceComponent injector_type_;
InjectorType injector_type_;
ControlMode control_mode_;
double surface_flow_max_rate_;
double reinjection_fraction_target_;
double fluid_volume_max_rate_;
double BHP_limit_;
};
}
#endif /* OPM_INJECTORSPECIFICATION_HPP */