12 #ifndef __WELLOPT_HEADER__
13 #define __WELLOPT_HEADER__
42 USI WellType()
const {
return type; }
43 USI OptMode()
const {
return optMode; }
44 string InjFluidType()
const
51 void SetInjProdPhase(
const USI& inPhase) { injProdPhase = inPhase; }
52 void SetInjZi(
const vector<OCP_DBL>& inZi)
59 void SetInjFactor(
const OCP_DBL& inFactor)
67 void SetProdPhaseWeight(
const vector<OCP_DBL>& inPj)
70 prodPhaseWeight = inPj;
102 vector<OCP_DBL> injZi;
104 vector<OCP_DBL> prodPhaseWeight;
113 vector<USI> connWell;
124 data = other.comRatio;
unsigned int USI
Generic unsigned integer.
double OCP_DBL
Double precision.
const USI PROD
Well type = producer.
const USI INJ
Well type = injector.
unsigned int OCP_BOOL
OCP_BOOL in OCP.
ParamWell class declaration.
#define OCP_ABORT(msg)
Abort if critical error happens.
Collect more detailed information of each time step.
Describe the molar fraction of components of fluid injected to reservoir from INJ.
string name
name of solvent
vector< OCP_DBL > data
molar fraction of components
Describe the molar fraction of components of fluid injected to reservoir from INJ.
WellOpt()=default
Default constructor.